Files
semi-libc/src/thread/pthread_rwlock_rdlock.c
T
Rich Felker 639bcf251e introduce namespace-safe rwlock aliases; use in pthread_key_create
commit 84d061d5a3 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.
2019-02-16 11:44:07 -05:00

9 lines
187 B
C

#include "pthread_impl.h"
int __pthread_rwlock_rdlock(pthread_rwlock_t *rw)
{
return __pthread_rwlock_timedrdlock(rw, 0);
}
weak_alias(__pthread_rwlock_rdlock, pthread_rwlock_rdlock);