Searched refs:pgid (Results 1 – 2 of 2) sorted by relevance
88 pid_t pgid = getpgid(static_cast<pid_t>(pid)); in GetCandidateProcessGroups() local89 if (pgid < 0) { in GetCandidateProcessGroups()94 ret.insert(pgid); in GetCandidateProcessGroups()105 for (auto pgid: process_groups) { in FallBackStop() local106 LOG(INFO) << "Sending SIGKILL to process group " << pgid; in FallBackStop()107 auto retval = killpg(pgid, SIGKILL); in FallBackStop()109 LOG(ERROR) << "Failed to kill process group " << pgid << ": " in FallBackStop()
276 auto pgid = getpgid(pid); in KillSubprocess() local277 if (pgid < 0) { in KillSubprocess()284 bool is_group_head = pid == pgid; in KillSubprocess()