shithub: npe

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