diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-07-26 13:00:04 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-07-26 13:00:04 -0700 |
commit | 7b7f43bed134db6a0da34282fffcbf0af10d4613 (patch) | |
tree | 51943739e388fb9bba90e9a872747d5d84bf5820 /nptl/ChangeLog | |
parent | aa7492d20e5a2cef54dab7b41f534048b3eca479 (diff) | |
download | glibc-7b7f43bed134db6a0da34282fffcbf0af10d4613.tar.gz glibc-7b7f43bed134db6a0da34282fffcbf0af10d4613.tar.xz glibc-7b7f43bed134db6a0da34282fffcbf0af10d4613.zip |
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.
Diffstat (limited to 'nptl/ChangeLog')
-rw-r--r-- | nptl/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index cb9ec53cd1..222112161a 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,10 @@ +2009-07-26 Ulrich Drepper <drepper@redhat.com> + + [BZ #10418] + * pthread_mutex_lock.c (pthread_mutex_lock): Use _rel instead of of + _acq variants of cmpxchg. + * pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise. + 2009-07-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/configure.in: New file. |