shithub: npe

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