Home
last modified time | relevance | path

Searched refs:pgid (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/host/commands/stop_cvd/
Dmain.cc115 pid_t pgid = getpgid(static_cast<pid_t>(pid)); in GetCandidateProcessGroups() local
116 if (pgid < 0) { in GetCandidateProcessGroups()
121 ret.insert(pgid); in GetCandidateProcessGroups()
132 for (auto pgid: process_groups) { in FallBackStop() local
133 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()
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.cpp147 auto pgid = getpgid(pid); in KillSubprocess() local
148 if (pgid < 0) { in KillSubprocess()
155 bool is_group_head = pid == pgid; in KillSubprocess()