Memory ordering in pthread_mutex_{,timed}lock.
commit7b7f43bed134db6a0da34282fffcbf0af10d4613
authorUlrich Drepper <drepper@redhat.com>
Sun, 26 Jul 2009 20:00:04 +0000 (26 13:00 -0700)
committerUlrich Drepper <drepper@redhat.com>
Sun, 26 Jul 2009 20:00:04 +0000 (26 13:00 -0700)
tree51943739e388fb9bba90e9a872747d5d84bf5820
parentaa7492d20e5a2cef54dab7b41f534048b3eca479
Memory ordering in pthread_mutex_{,timed}lock.

All commits should have happened before the mutex lock is taken.
Therefore use the _rel variant of the cmpxchg atomic op.
nptl/ChangeLog
nptl/pthread_mutex_lock.c
nptl/pthread_mutex_timedlock.c