* sysdeps/unix/sysv/linux/sem_post.c: Only wake threads if old
commit83d87915da34fc02d170ff8c356406040da2823f
authorUlrich Drepper <drepper@redhat.com>
Tue, 15 May 2007 06:24:31 +0000 (15 06:24 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 15 May 2007 06:24:31 +0000 (15 06:24 +0000)
tree7d76dcc1f12bd5dd7d65b329a3cd37422be12a82
parent1d47e92f71c36165364c8807e52d0d0dc0f66142
* sysdeps/unix/sysv/linux/sem_post.c: Only wake threads if old

value of semaphore was zero.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sem_post.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_post.S: Likewise.

* sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove unnecessary
extra cancellation test.
* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Likewise.
nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c
nptl/sysdeps/unix/sysv/linux/sem_post.c
nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c
nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S
nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S
nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S