Home | History | Annotate | Download | only in base

Lines Matching full:waitpid

58   // waitpid() has no direct support on POSIX for specifying a timeout, you can
64 // Our strategy is to call waitpid() once up front to check if the process
67 // waitpid(). The amount of time we sleep starts out at 1 milliseconds, and
77 pid_t ret_pid = HANDLE_EINTR(waitpid(handle, &status, WNOHANG));
98 ret_pid = HANDLE_EINTR(waitpid(handle, &status, WNOHANG));
238 pid_t pid = HANDLE_EINTR(waitpid(process_id, NULL, WNOHANG));
619 pid_t ret = HANDLE_EINTR(waitpid(pid, 0, 0));
698 const pid_t result = HANDLE_EINTR(waitpid(handle, &status, WNOHANG));
700 PLOG(ERROR) << "waitpid(" << handle << ")";
739 if (HANDLE_EINTR(waitpid(handle, &status, 0)) == -1) {
850 waitpid_success = (HANDLE_EINTR(waitpid(handle, &status, 0)) != -1);
1015 // TODO(port): use waitpid to avoid leaving zombies around