cond_init
cond_init(&dg_cv[i], 0, NULL);
cond_init(&vc_cv[i], 0, NULL);
ret = cond_init(cond, NULL);
return cond_init(cond, cond_attr);