projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
floating point environment, untested
[oweals/musl.git]
/
src
/
thread
/
pthread_rwlock_rdlock.c
diff --git
a/src/thread/pthread_rwlock_rdlock.c
b/src/thread/pthread_rwlock_rdlock.c
index 6bcdb81544d19667f498a4f3fbfef37c3c393ea4..29863507c07453336e4513f6250d9991d2037f9c 100644
(file)
--- a/
src/thread/pthread_rwlock_rdlock.c
+++ b/
src/thread/pthread_rwlock_rdlock.c
@@
-3,6
+3,6
@@
int pthread_rwlock_rdlock(pthread_rwlock_t *rw)
{
while (pthread_rwlock_tryrdlock(rw))
- __wait(&rw->_
_wrlock, &rw->_
_waiters, 1, 0);
+ __wait(&rw->_
rw_wrlock, &rw->_rw
_waiters, 1, 0);
return 0;
}