May 2017
Intermediate to advanced
590 pages
17h 18m
English
std::atomic is a class template that defines (including its specializations) an atomic type. The behavior of the objects of atomic types is well defined when one thread writes to the object and the other reads data, without using locks to protect access. The std::atomic class provides several specializations:
The atomic class template has various member functions that perform atomic operations such as the following:
Read now
Unlock full access