shithub: npe

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