Home | History | Annotate | Download | only in base

Lines Matching refs: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));
234 pid_t pid = HANDLE_EINTR(waitpid(process_id, NULL, WNOHANG));
595 pid_t ret = HANDLE_EINTR(waitpid(pid, 0, 0));
674 const pid_t result = HANDLE_EINTR(waitpid(handle, &status, WNOHANG));
676 PLOG(ERROR) << "waitpid(" << handle << ")";
715 if (HANDLE_EINTR(waitpid(handle, &status, 0)) == -1) {
826 waitpid_success = (HANDLE_EINTR(waitpid(handle, &status, 0)) != -1);
979 // TODO(port): use waitpid to avoid leaving zombies around