Ian Lance Taylor <[EMAIL PROTECTED]> writes: > > This code isn't going to be a problem, because spin_unlock presumably > includes a memory barrier.
At least in the Linux kernel and also in glibc for mutexes locks are just plain function calls, which are not necessarily full memory barriers. -Andi