Searched refs:pgid (Results 1 – 2 of 2) sorted by relevance
115 pid_t pgid = getpgid(static_cast<pid_t>(pid)); in GetCandidateProcessGroups() local116 if (pgid < 0) { in GetCandidateProcessGroups()121 ret.insert(pgid); in GetCandidateProcessGroups()132 for (auto pgid: process_groups) { in FallBackStop() local133 LOG(INFO) << "Sending SIGKILL to process group " << pgid; in FallBackStop()134 auto retval = killpg(pgid, SIGKILL); in FallBackStop()136 LOG(ERROR) << "Failed to kill process group " << pgid << ": " in FallBackStop()
147 auto pgid = getpgid(pid); in KillSubprocess() local148 if (pgid < 0) { in KillSubprocess()155 bool is_group_head = pid == pgid; in KillSubprocess()