How to Use Memory Barriers

Part 2 - More about compiler memory ordering, and how to use memory barriers to keep a compiler from reordering memory operations when optimizing multi-threaded code for performance.

More...