Home
last modified time | relevance | path

Searched refs:child_waiting (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/realtime/perf/latency/
Dpthread_cond_latency.c47 volatile int child_waiting = 0; variable
92 while (child_waiting == 0) { in childfunc()
94 child_waiting = 1; in childfunc()
100 child_waiting = 2; in childfunc()
102 while (child_waiting == 2) { in childfunc()
148 child_waiting = 0; in test_signal()
149 while (child_waiting == 0) { in test_signal()
170 if (child_waiting == 2) { in test_signal()
184 child_waiting = 3; in test_signal()
Dpthread_cond_many.c51 volatile int *child_waiting = NULL; variable
84 cw = &child_waiting[myid]; in childfunc()
155 while (child_waiting[itsid] == 0) { in wake_child()
176 if (child_waiting[itsid] == 2) { in wake_child()
205 child_waiting[j] = 0; in test_signal()
215 child_waiting[j] = 0; in test_signal()
222 child_waiting[j] = 3; in test_signal()
307 child_waiting = malloc(sizeof(*child_waiting) * nthreads); in main()
309 if ((child_waiting == NULL) || (condlist == NULL)) { in main()