my understanding of atomicity is either not done or finished. A variable with atomic operations atomic < int > gCounter; . There are two threads that perform write operations on gCounter . If these two threads happen to perform write operations at t...
there is a AAA class with a static member variable custCount , which is an atomic class. is then used in another class. in theory, when this member variable is called, the AAA class is loaded and then initialized. does this when local debug in I...