diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-03-02 00:25:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-03-02 00:25:56 +0000 |
commit | 42b6ddfca528a12ff7b4065e8ca8c2631d754260 (patch) | |
tree | d97dee2b539207dee491c0347a1e5ee78c67491d /nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S | |
parent | c99445f897367f658bb3c0da1cf5a8a8620931aa (diff) | |
download | glibc-42b6ddfca528a12ff7b4065e8ca8c2631d754260.tar glibc-42b6ddfca528a12ff7b4065e8ca8c2631d754260.tar.gz glibc-42b6ddfca528a12ff7b4065e8ca8c2631d754260.tar.bz2 glibc-42b6ddfca528a12ff7b4065e8ca8c2631d754260.zip |
(__lll_robust_lock_wait): Also set FUTEX_WAITERS buit if we got the mutex. (__lll_robust_timedlock_wait): Likewise.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S index 1c516c7424..ff09745060 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S @@ -74,6 +74,7 @@ __lll_robust_mutex_lock_wait: jne 4b movl %gs:TID, %edx + orl $FUTEX_WAITERS, %edx LOCK cmpxchgl %edx, (%ebx) jnz 4b @@ -163,6 +164,7 @@ __lll_robust_mutex_timedlock_wait: jne 7f movl %gs:TID, %edx + orl $FUTEX_WAITERS, %edx LOCK cmpxchgl %edx, (%ebx) jnz 7f |