shithub: npe

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