Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MWind2
New Contributor I
207 Views

assembly language routine to add to int in a multiprocessor multi-threaded application properly

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.

0 Kudos
1 Reply
David_V_Intel
Employee
41 Views

Hello MWind2,

 

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:

 

https://software.intel.com/en-us/forum

 

 

David V

 

Intel Customer Support Technician

A Contingent Worker at Intel

Reply