
28 Apr
2005
28 Apr
'05
4:31 p.m.
Matt Hurd wrote: [...]
That said, for naive users do you have an opinion on the memory semantics locking and unlocking a mutex should provide to deliver "the least surprise" to a user. x86 and sparc deliver a full fence for
Solaris (including x86-incarnation AFAIK) have locks that don't need interlocked read-{modify-}write in unlock() (similar to spinlocks). On x86, such unlock() has pure release semantics, not fully-fenced silliness. [...]
Your thoughts on memory vis requirements for locking and unlocking mutexes for the least surprise?
Uhmm, how about <http://tinyurl.com/77hvz>? regards, alexander.