I would like to know what are “C++11 atomic classes” that GCC-4.7.2 talks of in the 4.7 changelog. I have tried Googling but didn’t get any useful information on this. Does this mean that all operations are atomic so the class is thread-safe and operations are linearizable?
Share
To quote from this reference:
So in short yes all operations on an atomic variable are, well, atomic, and therefore threadsafe.