shithub: npe

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