introduce namespace-safe rwlock aliases; use in pthread_key_create
authorRich Felker <dalias@aerifal.cx>
Sat, 16 Feb 2019 16:44:07 +0000 (11:44 -0500)
committerRich Felker <dalias@aerifal.cx>
Sat, 16 Feb 2019 16:44:07 +0000 (11:44 -0500)
commit639bcf251e549f634da9a3e7ef8528eb2ec12505
tree799fe258d444002e5f04c619e43cd46a0db94287
parentba74a42cee90c9a4425188a021b6ad8ba80b9468
introduce namespace-safe rwlock aliases; use in pthread_key_create

commit 84d061d5a31c9c773e29e1e2b1ffe8cb9557bc58 inadvertently
introduced namespace violations by using the pthread-namespace rwlock
functions in pthread_key_create, which is in turn used for C11 tss.
fix that and possible future uses of rwlocks elsewhere.
src/include/pthread.h
src/thread/pthread_key_create.c
src/thread/pthread_rwlock_rdlock.c
src/thread/pthread_rwlock_timedrdlock.c
src/thread/pthread_rwlock_timedwrlock.c
src/thread/pthread_rwlock_tryrdlock.c
src/thread/pthread_rwlock_trywrlock.c
src/thread/pthread_rwlock_unlock.c
src/thread/pthread_rwlock_wrlock.c