0ad061a3f9ec03ad1a8350cdf6e20b2dcbf21328
[musl] / src / thread / cnd_broadcast.c
1 #include <threads.h>
2 #include <pthread.h>
3
4 int __private_cond_signal(pthread_cond_t *, int);
5
6 int cnd_broadcast(cnd_t *c)
7 {
8         /* This internal function never fails, and always returns zero,
9          * which matches the value thrd_success is defined with. */
10         return __private_cond_signal((pthread_cond_t *)c, -1);
11 }