Lines Matching refs:ok
103 int ok;
109 ok = pthread_mutex_lock(&mutex);
110 assert(0 == ok);
126 ok = pthread_cond_signal(&cond);
127 assert(0 == ok);
219 ok = pthread_mutex_unlock(&mutex);
220 assert(0 == ok);
527 int ok;
528 ok = pthread_mutex_lock(&mutex);
529 assert(0 == ok);
534 ok = pthread_cond_wait(&cond, &mutex);
535 assert(0 == ok);
537 ok = pthread_mutex_unlock(&mutex);
538 assert(0 == ok);