Lines Matching refs:cond
326 pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr)
338 *cond = cnd;
344 pthread_cond_destroy(pthread_cond_t *cond)
346 struct pthread_cond *cnd = *cond;
348 *cond = NULL;
355 pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex)
361 if (*cond == NULL) {
362 status = pthread_cond_init(cond, NULL);
366 cnd = *cond;
393 pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
402 if (*cond == NULL) {
403 status = pthread_cond_init(cond, NULL);
407 cnd = *cond;
440 pthread_cond_signal(pthread_cond_t *cond)
444 if (*cond == NULL) {
445 int status = pthread_cond_init(cond, NULL);
449 cnd = *cond;
459 pthread_cond_broadcast(pthread_cond_t *cond)
463 if (*cond == NULL) {
464 int status = pthread_cond_init(cond, NULL);
468 cnd = *cond;