Home
last modified time | relevance | path

Searched refs:static_mutex (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dt_cond.c47 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()
[all …]
H A Dt_mutex.c53 static pthread_mutex_t static_mutex = PTHREAD_MUTEX_INITIALIZER; variable
281 PTHREAD_REQUIRE(mutex_lock(&static_mutex, &ts_lengthy)); in mutex3_threadfunc()
287 PTHREAD_REQUIRE(pthread_mutex_unlock(&static_mutex)); in mutex3_threadfunc()
333 PTHREAD_REQUIRE(mutex_lock(&static_mutex, &ts_lengthy)); in ATF_TC_BODY()
343 PTHREAD_REQUIRE(pthread_mutex_unlock(&static_mutex)); in ATF_TC_BODY()
346 PTHREAD_REQUIRE(mutex_lock(&static_mutex, &ts_lengthy)); in ATF_TC_BODY()
352 PTHREAD_REQUIRE(pthread_mutex_unlock(&static_mutex)); in ATF_TC_BODY()
357 PTHREAD_REQUIRE(mutex_lock(&static_mutex, &ts_lengthy)); in ATF_TC_BODY()
/freebsd/lib/libthr/tests/
H A Dumtx_op_test.c44 static pthread_mutex_t static_mutex = PTHREAD_MUTEX_INITIALIZER; variable
52 pthread_mutex_lock(&static_mutex); in batching_threadfunc()
54 pthread_mutex_unlock(&static_mutex); in batching_threadfunc()
79 pthread_mutex_lock(&static_mutex); in ATF_TC_BODY()
81 pthread_mutex_unlock(&static_mutex); in ATF_TC_BODY()
83 pthread_mutex_lock(&static_mutex); in ATF_TC_BODY()
92 pthread_mutex_unlock(&static_mutex); in ATF_TC_BODY()