shithub: npe

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