shithub: npe

ref: 6b2baeae7807e8c45df4aacdc36d3b6434d87c98
dir: /libnpe_pthread/pthread_cond_signal.c/

View raw version
#include "_pthread.h"

int
pthread_cond_signal(pthread_cond_t *const cond)
{
	qlock(cond->l);
	rwakeup(cond);
	qunlock(cond->l);

    return 0;
}