mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
* sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S
(__lll_robust_lock_wait): Also set FUTEX_WAITERS bit if we got the mutex. (__lll_robust_timedlock_wait): Likewise. * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S (__lll_robust_lock_wait): Likewise. (__lll_robust_timedlock_wait): Likewise. * sysdeps/unix/sysv/linux/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise. (__lll_robust_timedlock_wait): Likewise.
This commit is contained in:
parent
42b6ddfca5
commit
672ec465f2
@ -1,3 +1,16 @@
|
||||
2006-03-01 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S
|
||||
(__lll_robust_lock_wait): Also set FUTEX_WAITERS bit if we got the
|
||||
mutex.
|
||||
(__lll_robust_timedlock_wait): Likewise.
|
||||
* sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S
|
||||
(__lll_robust_lock_wait): Likewise.
|
||||
(__lll_robust_timedlock_wait): Likewise.
|
||||
* sysdeps/unix/sysv/linux/lowlevelrobustlock.c
|
||||
(__lll_robust_lock_wait): Likewise.
|
||||
(__lll_robust_timedlock_wait): Likewise.
|
||||
|
||||
2006-03-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_robust_mutex_dead,
|
||||
|
@ -78,6 +78,7 @@ __lll_robust_mutex_lock_wait:
|
||||
jne 4b
|
||||
|
||||
movl %fs:TID, %edx
|
||||
orl $FUTEX_WAITERS, %edx
|
||||
LOCK
|
||||
cmpxchgl %edx, (%rdi)
|
||||
jnz 4b
|
||||
@ -169,6 +170,7 @@ __lll_robust_mutex_timedlock_wait:
|
||||
jne 7f
|
||||
|
||||
movl %fs:TID, %edx
|
||||
orl $FUTEX_WAITERS, %edx
|
||||
LOCK
|
||||
cmpxchgl %edx, (%r12)
|
||||
jnz 7f
|
||||
|
Loading…
Reference in New Issue
Block a user