Home
last modified time | relevance | path

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

/external/ltp/testcases/realtime/perf/latency/
Dpthread_cond_many.c102 pthread_t create_thread_(int itsid) in create_thread_() argument
138 if (pthread_cond_init(&condlist[itsid], NULL) != 0) { in create_thread_()
142 if (pthread_create(&childid, &attr, childfunc, (void *)(intptr_t) itsid) in create_thread_()
150 void wake_child(int itsid, int broadcast_flag) in wake_child() argument
155 while (child_waiting[itsid] == 0) { in wake_child()
163 if (pthread_cond_broadcast(&condlist[itsid]) != 0) { in wake_child()
169 if (pthread_cond_signal(&condlist[itsid]) != 0) { in wake_child()
176 if (child_waiting[itsid] == 2) { in wake_child()