I confess I am unsure of my reading of the lock instruction in Chapter 8 volume 3a of the of "LOCKED ATOMIC OPERATIONS", and I have some questions. Will a LOCK <supported instructions> <supported types/alignment> be enough to insure each thread on possibly different processors/cores read the updated write properly or be prevented from writing to a stale value? I have read some confusing explanations some of which I suspect are wrong, and I would narrow the request for windows os and assembly language to make the essential as clear as it can be.
Thank you for posting on the Intel ® communities.
I would recommend you post your inquiry in our Intel ® Developer Zone so you can get the best assistance with your inquiry. Please refer to the link below:
Intel Customer Support Technician
A Contingent Worker at Intel