Home
last modified time | relevance | path

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

/third_party/glib/tests/
Donceinit.c26 static GMutex tmutex; variable
99 g_mutex_lock (&tmutex); in tmain_call_initializer3()
100 g_cond_wait (&tcond, &tmutex); in tmain_call_initializer3()
101 g_mutex_unlock (&tmutex); in tmain_call_initializer3()
128 g_mutex_lock (&tmutex); in main()
131 g_mutex_unlock (&tmutex); in main()
144 g_mutex_lock (&tmutex); in main()
148 g_mutex_unlock (&tmutex); in main()
264 g_mutex_lock (&tmutex); in stress_concurrent_initializers()
265 g_mutex_unlock (&tmutex); in stress_concurrent_initializers()
/third_party/ltp/lib/
Dtst_res.c95 static pthread_mutex_t tmutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; variable
162 pthread_mutex_lock(&tmutex); in tst_res__()
211 pthread_mutex_unlock(&tmutex); in tst_res__()
253 pthread_mutex_lock(&tmutex); in tst_old_flush()
265 pthread_mutex_unlock(&tmutex); in tst_old_flush()
401 pthread_mutex_lock(&tmutex); in tst_exit()
477 pthread_mutex_lock(&tmutex); in tst_brk__()
520 pthread_mutex_unlock(&tmutex); in tst_brk__()
Dtst_resource.c37 static pthread_mutex_t tmutex = PTHREAD_MUTEX_INITIALIZER; variable
74 pthread_mutex_lock(&tmutex); in tst_dataroot()
77 pthread_mutex_unlock(&tmutex); in tst_dataroot()