projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix major breakage in pthread_once (it was always deadlocking)
[oweals/musl.git]
/
src
/
thread
/
pthread_cond_broadcast.c
diff --git
a/src/thread/pthread_cond_broadcast.c
b/src/thread/pthread_cond_broadcast.c
index 7a023b850bab8c8627ab5d543c5ddc46947d439d..1d378c0b271b0420044a5dc842eba04f6c3887e0 100644
(file)
--- a/
src/thread/pthread_cond_broadcast.c
+++ b/
src/thread/pthread_cond_broadcast.c
@@
-2,7
+2,7
@@
int pthread_cond_broadcast(pthread_cond_t *c)
{
- c->__block = 0;
- __wake(&c->__block, -1, 0);
+ c->_
c
_block = 0;
+ __wake(&c->_
c
_block, -1, 0);
return 0;
}