Searched refs:pid_ (Results 1 – 2 of 2) sorted by relevance
168 pid_t pid() const { return pid_; } in pid()205 pid_t pid_ = -1; member in __anon756bd2530111::Subprocess311 pid_ = fork(); in ForkAndExec()313 if (pid_ > 0) { in ForkAndExec()329 pid_ = fork(); in ForkAndExec()332 if (pid_ == -1) { in ForkAndExec()337 if (pid_ == 0) { in ForkAndExec()415 kill(pid_, SIGKILL); in ForkAndExec()583 D("protocol FD died, sending SIGHUP to pid %d", pid_); in PassDataStreams()584 if (pid_ != -1) { in PassDataStreams()[all …]
753 constexpr explicit Process(pid_t pid) : pid_(pid) {} in Process()754 constexpr Process(Process&& other) : pid_(std::exchange(other.pid_, -1)) {} in Process()756 constexpr explicit operator bool() const { return pid_ >= 0; }761 ::waitpid(pid_, &status, 0); in wait()762 pid_ = -1; in wait()767 ::kill(pid_, SIGTERM); in kill()774 pid_t pid_; variable