Home | History | Annotate | Download | only in src

Lines Matching refs:pid

165   explicit ZombieProtector(int pid): pid_(pid) { }
385 static bool WaitForChild(int pid,
397 waitid(P_PID, pid, &child_info, WEXITED | WNOHANG | WNOWAIT);
403 kill(pid, SIGINT);
429 waitpid(pid, &child_status, 0); // We hang here if the child doesn't exit.
496 pid_t pid = fork();
497 if (pid == 0) { // Child process.
503 ZombieProtector child_waiter(pid);
516 kill(pid, SIGINT); // On timeout, kill the subprocess.
520 if (!WaitForChild(pid,