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
215 ret_pid = wait(&status); in main()
216 if (ret_pid == c_2 && WIFEXITED(status) in main()
220 ret_pid = wait(&status); in main()
221 if (ret_pid == c_3 && WIFEXITED(status) in main()
225 ret_pid = wait(&status); in main()
226 if (ret_pid == c_1 && WIFEXITED(status) in main()
233 c_1, ret_pid); in main()
238 c_3, ret_pid); in main()
245 printf("Test Fail: Expect child_2: %d, got %d\n", c_2, ret_pid); in main()
/external/libchrome/base/process/
Dprocess_posix.cc60 pid_t ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG)); in WaitpidWithTimeout() local
67 while (ret_pid == 0) { in WaitpidWithTimeout()
80 ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG)); in WaitpidWithTimeout()
88 return ret_pid > 0; in WaitpidWithTimeout()