Lines Matching refs:PTHREAD_REQUIRE
59 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex));
63 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex));
64 PTHREAD_REQUIRE(pthread_cond_signal(&cond));
94 PTHREAD_REQUIRE(pthread_cond_init(&cond, NULL));
95 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL));
97 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex));
102 PTHREAD_REQUIRE(pthread_create(&new, NULL, threadfunc, NULL));
106 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex));
111 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex));
118 PTHREAD_REQUIRE(pthread_join(new, &joinval));