Ian Lance Taylor writes: > > All objects shared between threads need to protected by a mutex, or by > some other type of memory barrier. It's an interesting contention -- that in GNU/Linux userspace there are essentially no legitimate uses for volatile. Hmmmm... Andrew.