repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
synccall: add separate exit_sem to fix thread release logic bug
[musl.git]
/
src
/
thread
/
cnd_broadcast.c
blob
e76b5a81bd76cc73524f22ab89766bd4de8e9037
1
#include <threads.h>
2
#include <pthread.h>
3
4
int
cnd_broadcast
(
cnd_t
*
c
)
5
{
6
/* This internal function never fails, and always returns zero,
7
* which matches the value thrd_success is defined with. */
8
return
__private_cond_signal
((
pthread_cond_t
*)
c
, -
1
);
9
}