C++11's atomic and volatile, under the hood on x86

from blog Marc Brooker's Blog, | ↗ original
C++11’s atomic and volatile, under the hood on x86 How do C++11's atomic and volatile work? In my previous post Java’s Atomic and volatile, under the hood on x86 I look at Atomic and volatile in Java, and how they affect the generated assembly. In this post, I’m looking at std::atomic and volatile in C++. Like in Java, it’s well known that...