shithub: npe

ref: 2b10549c4fcfed1d97488ba633f045ae6da393e3
dir: /libnpe_pthread/pthread_cond_init.c/

View raw version
#include "_pthread.h"

int
pthread_cond_init(pthread_cond_t *const cond, const void *const attr)
{
	USED(attr);
	memset(cond, 0, sizeof(*cond));
	cond->l = &cond->lock;

	return 0;
}