Home
last modified time | relevance | path

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

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
D8-1.c122 pid_t c_1, c_2, c_3, ret_pid; in main() local
214 ret_pid = wait(&status); in main()
215 if (ret_pid == c_2 && WIFEXITED(status) in main()
219 ret_pid = wait(&status); in main()
220 if (ret_pid == c_3 && WIFEXITED(status) in main()
224 ret_pid = wait(&status); in main()
225 if (ret_pid == c_1 && WIFEXITED(status) in main()
232 c_1, ret_pid); in main()
237 c_3, ret_pid); in main()
244 printf("Test Fail: Expect child_2: %d, got %d\n", c_2, ret_pid); in main()
/external/libchrome/base/process/
Dprocess_posix.cc59 pid_t ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG)); in WaitpidWithTimeout() local
66 while (ret_pid == 0) { in WaitpidWithTimeout()
79 ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG)); in WaitpidWithTimeout()
87 return ret_pid > 0; in WaitpidWithTimeout()