diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-08 10:30:42 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-08 10:30:42 +0000 |
commit | ccf1d5737a2241f2521eb3af2bbf0c118dce828d (patch) | |
tree | f3bc34979cc66a962df2b25097bec078cdaeaca2 /nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S | |
parent | d130a3415649b36ac672ab49068aec7c02a8135c (diff) | |
download | glibc-ccf1d5737a2241f2521eb3af2bbf0c118dce828d.tar.gz glibc-ccf1d5737a2241f2521eb3af2bbf0c118dce828d.tar.xz glibc-ccf1d5737a2241f2521eb3af2bbf0c118dce828d.zip |
Update.
* tst-tls2.c (do_test): Add TEMP_FAILURE_RETRY around sem_wait call. * tst-signal3.c (do_test): Likewise. * tst-sem5.c (do_test): Likewise. * tst-kill6.c (do_test): Likewise. * tst-tls3.c (do_test): Likewise. Include <errno.h>. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use add/sub instead of inc/dec. * sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Likewise. * sysdeps/unix/sysv/linux/i386/pthread_once.S: Likewise * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S index c51c148c55..35f61bf0f9 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S @@ -56,7 +56,7 @@ __pthread_rwlock_unlock: 2: cmpl $0, WRITER(%edi) jne 5f - decl NR_READERS(%edi) + subl $1, NR_READERS(%edi) jnz 6f 5: movl $0, WRITER(%edi) @@ -74,12 +74,12 @@ __pthread_rwlock_unlock: movl $0x7fffffff, %edx leal READERS_WAKEUP(%edi), %ebx -0: incl (%ebx) +0: addl $1, (%ebx) LOCK #if MUTEX == 0 - decl (%edi) + subl $1, (%edi) #else - decl MUTEX(%edi) + subl $1, MUTEX(%edi) #endif jne 7f @@ -94,9 +94,9 @@ __pthread_rwlock_unlock: .align 16 6: LOCK #if MUTEX == 0 - decl (%edi) + subl $1, (%edi) #else - decl MUTEX(%edi) + subl $1, MUTEX(%edi) #endif jne 3f |