2 ms·
Right. There is really only a single place volatile actually works, and that is for memory-mapped hardware registers. Anybody who says it is useful for anythin
by ncmncm 7y ago
Right.
There is really only a single place volatile actually works, and that is for memory-mapped hardware registers. Anybody who says it is useful for anything else is badly mistaken.
Except in MSVC, where it kinda/sorta means atomic.