Home
last modified time | relevance | path

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

/third_party/ltp/testcases/realtime/func/pi-tests/
Dtestpi-4.c79 static pthread_mutex_t cond_mutex = PTHREAD_MUTEX_INITIALIZER; variable
97 pthread_mutex_lock(&cond_mutex); in func_nonrt()
98 pthread_cond_wait(&cond_var, &cond_mutex); in func_nonrt()
99 pthread_mutex_unlock(&cond_mutex); in func_nonrt()
153 pthread_mutex_lock(&cond_mutex); in func_noise()
155 pthread_mutex_unlock(&cond_mutex); in func_noise()
221 pthread_mutex_destroy(&cond_mutex); in main()
Dtestpi-2.c80 static pthread_mutex_t cond_mutex = PTHREAD_MUTEX_INITIALIZER; variable
97 pthread_mutex_lock(&cond_mutex); in func_lowrt()
98 pthread_cond_wait(&cond_var, &cond_mutex); in func_lowrt()
99 pthread_mutex_unlock(&cond_mutex); in func_lowrt()
154 pthread_mutex_lock(&cond_mutex); in func_noise()
156 pthread_mutex_unlock(&cond_mutex); in func_noise()
218 pthread_mutex_destroy(&cond_mutex); in main()
Dtestpi-1.c78 static pthread_mutex_t cond_mutex = PTHREAD_MUTEX_INITIALIZER; variable
95 pthread_mutex_lock(&cond_mutex); in func_nonrt()
96 pthread_cond_wait(&cond_var, &cond_mutex); in func_nonrt()
97 pthread_mutex_unlock(&cond_mutex); in func_nonrt()
152 pthread_mutex_lock(&cond_mutex); in func_noise()
154 pthread_mutex_unlock(&cond_mutex); in func_noise()
217 pthread_mutex_destroy(&cond_mutex); in main()