projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
implement hcreate_r, hdestroy_r and hsearch_r
[oweals/musl.git]
/
src
/
thread
/
pthread_cond_signal.c
1
#include "pthread_impl.h"
2
3
int pthread_cond_signal(pthread_cond_t *c)
4
{
5
if (!c->_c_waiters) return 0;
6
a_inc(&c->_c_seq);
7
if (c->_c_waiters) __wake(&c->_c_seq, 1, 0);
8
return 0;
9
}