Lines Matching refs:static_mutex
47 static pthread_mutex_t static_mutex = PTHREAD_MUTEX_INITIALIZER; variable
179 PTHREAD_REQUIRE(pthread_mutex_lock(&static_mutex)); in signal_before_unlock_static_init_threadfunc()
186 PTHREAD_REQUIRE(pthread_mutex_unlock(&static_mutex)); in signal_before_unlock_static_init_threadfunc()
206 PTHREAD_REQUIRE(pthread_mutex_lock(&static_mutex)); in ATF_TC_BODY()
216 PTHREAD_REQUIRE(pthread_cond_wait(&static_cond, &static_mutex)); in ATF_TC_BODY()
222 PTHREAD_REQUIRE(pthread_mutex_unlock(&static_mutex)); in ATF_TC_BODY()
234 PTHREAD_REQUIRE(pthread_mutex_lock(&static_mutex)); in signal_wait_race_threadfunc()
244 &static_mutex)); in signal_wait_race_threadfunc()
248 PTHREAD_REQUIRE(pthread_mutex_unlock(&static_mutex)); in signal_wait_race_threadfunc()
266 PTHREAD_REQUIRE(pthread_mutex_lock(&static_mutex)); in ATF_TC_BODY()
283 &static_mutex)); in ATF_TC_BODY()
289 PTHREAD_REQUIRE(pthread_mutex_unlock(&static_mutex)); in ATF_TC_BODY()
325 PTHREAD_REQUIRE(pthread_mutex_lock(&static_mutex)); in pthread_cond_timedwait_func()
326 rv = pthread_cond_timedwait(&static_cond, &static_mutex, &ts); in pthread_cond_timedwait_func()
333 PTHREAD_REQUIRE(pthread_mutex_unlock(&static_mutex)); in pthread_cond_timedwait_func()
365 PTHREAD_REQUIRE(pthread_mutex_lock(&static_mutex)); in broadcast_threadfunc()
373 &static_mutex)); in broadcast_threadfunc()
377 PTHREAD_REQUIRE(pthread_mutex_unlock(&static_mutex)); in broadcast_threadfunc()
397 PTHREAD_REQUIRE(pthread_mutex_lock(&static_mutex)); in ATF_TC_BODY()
413 &static_mutex)); in ATF_TC_BODY()
419 PTHREAD_REQUIRE(pthread_mutex_unlock(&static_mutex)); in ATF_TC_BODY()
452 PTHREAD_REQUIRE(pthread_mutex_lock(&static_mutex)); in ATF_TC_BODY()
459 ATF_REQUIRE_EQ_MSG(pthread_cond_timedwait(&static_cond, &static_mutex, in ATF_TC_BODY()
468 ATF_REQUIRE_EQ_MSG(pthread_cond_timedwait(&static_cond, &static_mutex, in ATF_TC_BODY()
481 ATF_REQUIRE_EQ_MSG(pthread_cond_timedwait(&static_cond, &static_mutex, in ATF_TC_BODY()
489 ATF_REQUIRE_EQ_MSG(pthread_cond_timedwait(&static_cond, &static_mutex, in ATF_TC_BODY()
493 PTHREAD_REQUIRE(pthread_mutex_unlock(&static_mutex)); in ATF_TC_BODY()