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_tryrdlock.c
diff --git
a/src/thread/pthread_rwlock_tryrdlock.c
b/src/thread/pthread_rwlock_tryrdlock.c
index fc1d5328a787dc6df63db2cc265227c795e9b394..f860ec7163798ac34b5180f657cb9f4627285c86 100644
(file)
--- a/
src/thread/pthread_rwlock_tryrdlock.c
+++ b/
src/thread/pthread_rwlock_tryrdlock.c
@@
-7,7
+7,7
@@
int pthread_rwlock_tryrdlock(pthread_rwlock_t *rw)
a_dec(&rw->_rw_readers);
if (rw->_rw_waiters && !rw->_rw_readers)
__wake(&rw->_rw_readers, 1, 0);
- return E
AGAIN
;
+ return E
BUSY
;
}
return 0;
}