shithub: npe

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