I am using the Boost library, but I suppose it applies to other threading libraries, too.
Is "volatile" needed for all resources shared between threads? Including mutexes?
Thanks
[edit]I am aware that volatile shouldn't be used for synchronization. Just for optimization suppression.[/edit]