Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/stop/
Dmain.cc88 pid_t pgid = getpgid(static_cast<pid_t>(pid)); in GetCandidateProcessGroups() local
89 if (pgid < 0) { in GetCandidateProcessGroups()
94 ret.insert(pgid); in GetCandidateProcessGroups()
105 for (auto pgid: process_groups) { in FallBackStop() local
106 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()
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.cpp276 auto pgid = getpgid(pid); in KillSubprocess() local
277 if (pgid < 0) { in KillSubprocess()
284 bool is_group_head = pid == pgid; in KillSubprocess()