shithub: npe

ref: a5335817e8937c408afddec32845b7361f40bf17
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;
}