OLD | NEW |
1 #include <threads.h> | 1 #include <threads.h> |
2 | 2 |
3 int __private_cond_signal(cnd_t *, int); | 3 int __private_cond_signal(cnd_t*, int); |
4 | 4 |
5 int cnd_broadcast(cnd_t *c) | 5 int cnd_broadcast(cnd_t* c) { |
6 { | 6 /* This internal function never fails, and always returns zero, |
7 » /* This internal function never fails, and always returns zero, | 7 * which matches the value thrd_success is defined with. */ |
8 » * which matches the value thrd_success is defined with. */ | 8 return __private_cond_signal(c, -1); |
9 » return __private_cond_signal(c, -1); | |
10 } | 9 } |
OLD | NEW |