Home
last modified time | relevance | path

Searched refs:child_mutex (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/realtime/perf/latency/
Dpthread_cond_latency.c46 pthread_mutex_t child_mutex = PTHREAD_MUTEX_INITIALIZER; variable
93 pthread_mutex_lock(&child_mutex); in childfunc()
95 if (pthread_cond_wait(cp, &child_mutex) != 0) { in childfunc()
101 pthread_mutex_unlock(&child_mutex); in childfunc()
147 pthread_mutex_lock(&child_mutex); in test_signal()
150 pthread_mutex_unlock(&child_mutex); in test_signal()
152 pthread_mutex_lock(&child_mutex); in test_signal()
154 pthread_mutex_unlock(&child_mutex); in test_signal()
169 pthread_mutex_lock(&child_mutex); in test_signal()
173 pthread_mutex_unlock(&child_mutex); in test_signal()
[all …]
Dpthread_cond_many.c50 pthread_mutex_t child_mutex; variable
86 pthread_mutex_lock(&child_mutex); in childfunc()
88 if (pthread_cond_wait(cp, &child_mutex) != 0) { in childfunc()
94 pthread_mutex_unlock(&child_mutex); in childfunc()
154 pthread_mutex_lock(&child_mutex); in wake_child()
156 pthread_mutex_unlock(&child_mutex); in wake_child()
158 pthread_mutex_lock(&child_mutex); in wake_child()
160 pthread_mutex_unlock(&child_mutex); in wake_child()
175 pthread_mutex_lock(&child_mutex); in wake_child()
179 pthread_mutex_unlock(&child_mutex); in wake_child()
[all …]
/external/ltp/testcases/realtime/func/pi-tests/
Dtestpi-5.c43 pthread_mutex_t child_mutex; variable
49 ret = pthread_mutex_lock(&child_mutex); in child_thread()
58 ret = pthread_mutex_lock(&child_mutex); in child_thread()
86 retc = pthread_mutex_init(&child_mutex, &mutexattr); in do_test()
Dtestpi-6.c45 pthread_mutex_t child_mutex; variable
51 ret = pthread_mutex_lock(&child_mutex); in child_thread()
60 ret = pthread_mutex_lock(&child_mutex); in child_thread()
86 retc = pthread_mutex_init(&child_mutex, &mutexattr); in do_test()
/external/ltp/testcases/kernel/sched/pthreads/
Dpth_str03.c53 pthread_mutex_t child_mutex; /* mutex for the child_count */ member
222 &parent->child_mutex); in synchronize_children()
225 pthread_mutex_lock(&parent->child_mutex); in synchronize_children()
234 &parent->child_mutex); in synchronize_children()
237 pthread_mutex_unlock(&parent->child_mutex); in synchronize_children()
583 pthread_mutex_init(&child_info[ind].child_mutex, NULL))) { in main()
Dpth_str01.c209 &parent->child_mutex); in synchronize_children()
212 pthread_mutex_lock(&parent->child_mutex); in synchronize_children()
221 &parent->child_mutex); in synchronize_children()
224 pthread_mutex_unlock(&parent->child_mutex); in synchronize_children()
607 if ((rc = pthread_mutex_init(&child_info[ind].child_mutex, in main()
Dpth_str01.h29 pthread_mutex_t child_mutex; /* mutex for the child_count */ member