News for hackers. Stuff that matters.
Re:Mutexes are faster than Spinlocks by ncmncm on Sunday January 05, 2020 @03:01AM (#21960228)
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.

There are no comments on this comment yet.