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

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_cond_timedwait/
H A Dstress1.c244 pid_t child_p=0, wrc; local
260 child_p= fork();
261 if (child_p == -1) { UNRESOLVED(ret, "[child] Failed to create a grand child proces"); }
263 if (child_p == 0) /* grand child */
299 wrc = waitpid(child_p, &status, 0);
300 if (wrc != child_p)
302 output("Expected pid: %i. Got %i\n", (int)child_p, (int)wrc);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_cond_wait/
H A Dstress1.c236 pid_t child_p=0, wrc; local
250 child_p= fork();
251 if (child_p == -1) { UNRESOLVED(ret, "[child] Failed to create a grand child proces"); }
253 if (child_p == 0) /* grand child */
282 wrc = waitpid(child_p, &status, 0);
283 if (wrc != child_p)
285 output("Expected pid: %i. Got %i\n", (int)child_p, (int)wrc);

Completed in 105 milliseconds