* pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add LLL_SHARED
authorUlrich Drepper <drepper@redhat.com>
Mon, 23 Jul 2007 16:07:53 +0000 (16:07 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 23 Jul 2007 16:07:53 +0000 (16:07 +0000)
commiteb7721f232df0721906eeb0993651aa8c32aed8d
treeb7d736992383840ebc2ff600e0accf8e23b5751d
parentdefc45f2fa505a2f51b3d4b78e190a41ff53181e
* pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add LLL_SHARED

parameter to lll_futex_wait call.
* pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Likewise.

* sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
Replace lll_futex_wait with lll_private_futex_wait.
* sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
Add LLL_SHARED parameter to lll_futex_wake().

* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Define LLL_PRIVATE
LLL_SHARED, lll_private_futex_wait, lll_private_futex_timed_wait and
lll_private_futex_wake.
(lll_futex_wait): Add private parameter. Adjust FUTEX_PRIVATE_FLAG
bit from private parm before syscall.
(lll_futex_timed_wait): Likewise.
(lll_futex_wake): Likewise.
(lll_futex_wake_unlock): Likewise.
(lll_mutex_unlock): Add LLL_SHARED parm to lll_futex_wake call.
(lll_robust_mutex_unlock): Likewise.
(lll_mutex_unlock_force): Likewise.
(lll_wait_tid): Add LLL_SHARED parm to lll_futex_wait call.
nptl/ChangeLog
nptl/pthread_rwlock_rdlock.c
nptl/pthread_rwlock_wrlock.c
nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c
nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c