Home
last modified time | relevance | path

Searched refs:glob_mutex (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/testcases/realtime/func/pi-tests/
Dtestpi-4.c78 pthread_mutex_t *glob_mutex; variable
89 pthread_mutex_lock(glob_mutex); in func_nonrt()
109 pthread_mutex_unlock(glob_mutex); in func_nonrt()
120 pthread_mutex_lock(glob_mutex); in func_rt()
137 pthread_mutex_unlock(glob_mutex); in func_rt()
201 glob_mutex = malloc(sizeof(pthread_mutex_t)); in main()
202 if (glob_mutex == NULL) { in main()
208 init_pi_mutex(glob_mutex); in main()
220 pthread_mutex_destroy(glob_mutex); in main()
Dtestpi-1.c77 pthread_mutex_t glob_mutex; variable
88 pthread_mutex_lock(&glob_mutex); in func_nonrt()
107 pthread_mutex_unlock(&glob_mutex); in func_nonrt()
118 pthread_mutex_lock(&glob_mutex); in func_rt()
135 pthread_mutex_unlock(&glob_mutex); in func_rt()
202 init_pi_mutex(&glob_mutex); in main()
216 pthread_mutex_destroy(&glob_mutex); in main()
Dtestpi-2.c79 pthread_mutex_t glob_mutex; variable
90 pthread_mutex_lock(&glob_mutex); in func_lowrt()
109 pthread_mutex_unlock(&glob_mutex); in func_lowrt()
120 pthread_mutex_lock(&glob_mutex); in func_rt()
137 pthread_mutex_unlock(&glob_mutex); in func_rt()
203 init_pi_mutex(&glob_mutex); in main()
217 pthread_mutex_destroy(&glob_mutex); in main()
/third_party/ltp/testcases/realtime/stress/pi-tests/
Dtestpi-3.c76 pthread_mutex_t glob_mutex; variable
121 pthread_mutex_lock(&glob_mutex); in func_nonrt()
141 pthread_mutex_unlock(&glob_mutex); in func_nonrt()
171 pthread_mutex_lock(&glob_mutex); in func_rt()
197 pthread_mutex_unlock(&glob_mutex); in func_rt()
385 if ((retc = pthread_mutex_init(&glob_mutex, &mutexattr)) != 0) { in main()