shithub: npe

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