Check out my first novel, midnight's simulacra!
Synchronization: Difference between revisions
From dankwiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
==See Also== | ==See Also== | ||
* [http://www.rdrop.com/users/paulmck/scalability/paper/whymb.2010.06.07c.pdf "Memory Barriers: A Guide for Software Hackers"] | * [http://www.rdrop.com/users/paulmck/scalability/paper/whymb.2010.06.07c.pdf "Memory Barriers: A Guide for Software Hackers"] | ||
[[CATEGORY: | [[CATEGORY: Hardware]] |
Latest revision as of 17:51, 17 September 2011
When multiple execution contexts want to share data, synchronization must typically be used to ensure mutual exclusion among those accesses. Care must be taken in the presence of constructed operations (64-bit math on a 32-bit processor, for instance), memory access reordering, and compiler optimizations if this synchronization is to be effective and robust.