Home
last modified time | relevance | path

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

/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
Dstress1.c272 pid_t child_p = 0, wrc; in threaded_A() local
290 child_p = fork(); in threaded_A()
291 if (child_p == -1) { in threaded_A()
296 if (child_p == 0) { /* grand child */ in threaded_A()
338 wrc = waitpid(child_p, &status, 0); in threaded_A()
339 if (wrc != child_p) { in threaded_A()
340 output("Expected pid: %i. Got %i\n", (int)child_p, in threaded_A()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
Dstress1.c271 pid_t child_p = 0, wrc; in threaded_A() local
287 child_p = fork(); in threaded_A()
288 if (child_p == -1) { in threaded_A()
293 if (child_p == 0) { /* grand child */ in threaded_A()
326 wrc = waitpid(child_p, &status, 0); in threaded_A()
327 if (wrc != child_p) { in threaded_A()
328 output("Expected pid: %i. Got %i\n", (int)child_p, in threaded_A()