From 672ec465f2f3a2807a189daf03ffe011c14a466d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 2 Mar 2006 00:28:24 +0000 Subject: * 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. --- nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nptl/sysdeps') diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S index 7bb9191691..1a088e27b1 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S @@ -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 -- cgit 1.4.1