shithub: npe

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