summaryrefslogblamecommitdiff
path: root/src/thread/pthread_cond_signal.c
blob: 574f5c79bab9a6e04a3078a1748a2a45f2901d39 (plain) (tree)
1
2
3
4
5
6
7
8



                                          

                                   

                 
#include "pthread_impl.h"

int pthread_cond_signal(pthread_cond_t *c)
{
	c->_c_block = 0;
	__wake(&c->_c_block, 1, 0);
	return 0;
}