Lines Matching refs:PTHREAD_REQUIRE
69 PTHREAD_REQUIRE(pthread_once(&once, ofunc));
70 PTHREAD_REQUIRE(pthread_once(&once, ofunc));
89 PTHREAD_REQUIRE(pthread_once(&once, once2_ofunc));
113 PTHREAD_REQUIRE(pthread_create(&threads[i], NULL, once2_threadfunc, &id[i]));
117 PTHREAD_REQUIRE(pthread_join(threads[i], NULL));
128 PTHREAD_REQUIRE(pthread_mutex_unlock(mu));
140 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex));
142 PTHREAD_REQUIRE(pthread_once(&once, once3_ofunc));
177 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex));
178 PTHREAD_REQUIRE(pthread_create(&thread, NULL, once3_threadfunc, NULL));
179 PTHREAD_REQUIRE(pthread_cancel(thread));
180 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex));
181 PTHREAD_REQUIRE(pthread_join(thread, NULL));
183 PTHREAD_REQUIRE(pthread_once(&once, ofunc));