projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix misspelled PTHREAD_CANCELED constant
[musl]
/
src
/
thread
/
pthread_rwlock_rdlock.c
1
#include "pthread_impl.h"
2
3
int pthread_rwlock_rdlock(pthread_rwlock_t *rw)
4
{
5
while (pthread_rwlock_tryrdlock(rw))
6
__wait(&rw->_rw_wrlock, &rw->_rw_waiters, 1, 0);
7
return 0;
8
}