Lines Matching full:waitpid
32 // waitpid() has no direct support on POSIX for specifying a timeout, you can
38 // Our strategy is to call waitpid() once up front to check if the process
41 // waitpid(). The amount of time we sleep starts out at 1 milliseconds, and
51 pid_t ret_pid = HANDLE_EINTR(waitpid(handle, &status, WNOHANG));
72 ret_pid = HANDLE_EINTR(waitpid(handle, &status, WNOHANG));
90 const pid_t result = HANDLE_EINTR(waitpid(handle, &status,
93 DPLOG(ERROR) << "waitpid(" << handle << ")";
154 pid_t pid = HANDLE_EINTR(waitpid(process_id, NULL, WNOHANG));
205 if (HANDLE_EINTR(waitpid(handle, &status, 0)) == -1) {
247 // TODO(port): use waitpid to avoid leaving zombies around
370 waitpid_success = (HANDLE_EINTR(waitpid(handle, &status, 0)) != -1);
401 const pid_t result = HANDLE_EINTR(waitpid(child, NULL, WNOHANG));
403 DPLOG(ERROR) << "waitpid(" << child << ")";
431 pid_t r = HANDLE_EINTR(waitpid(child_, NULL, 0));
452 if (HANDLE_EINTR(waitpid(child_, NULL, 0)) < 0)
453 DPLOG(WARNING) << "waitpid";