cond->c_spinlock = 0; queue_init(&cond->c_waiting);
__pthread_init_lock(&cond->c_lock); cond->c_waiting = NULL;
int pthread_cond_init(pthread_cond_t *cond,                      const pthread_condattr_t *cond_attr){  cond->c_spinlock = 0;  queue_init(&cond->c_waiting);  return 0;}