3 ms·std::atomic is equivalent of volatile in C++. C and C++ volatile is for other memory mapped I/O.by gpderetta 2y agostd::atomic is equivalent of volatile in C++. C and C++ volatile is for other memory mapped I/O.