shithub: npe

ref: 041d3c9d8de4ed92c5cafc3c12c5170113e55677
dir: /libnpe_pthread/pthread_cond_broadcast.c/

View raw version
#include "_pthread.h"

int
pthread_cond_broadcast(pthread_cond_t *const cond)
{
	qlock(cond->l);
	rwakeupall(cond);
	qunlock(cond->l);

	return 0;
}