Lines Matching defs:pid
94 lldb::pid_t pid; // The process ID to monitor
96 callback; // The callback function to call when "pid" exits or signals
97 bool monitor_signals; // If true, call the callback when "pid" gets signaled.
103 const Host::MonitorChildProcessCallback &callback, lldb::pid_t pid,
107 info_ptr->pid = pid;
113 "<lldb.host.wait4(pid=%" PRIu64 ")>", pid);
174 assert(info->pid <= UINT32_MAX);
175 const ::pid_t pid = monitor_signals ? -1 * getpgid(info->pid) : info->pid;
195 LLDB_LOGF(log, "%s ::waitpid (pid = %" PRIi32 ", &status, options = %i)...",
196 function, pid, options);
201 // Get signals from all children with same process group of pid
202 const ::pid_t wait_pid = ::waitpid(pid, &status, options);
231 if (wait_pid == abs(pid)) {
247 "%s ::waitpid (pid = %" PRIi32
248 ", &status, options = %i) => pid = %" PRIi32
250 function, pid, options, wait_pid, status, status_cstr, signal,
259 if (exited && wait_pid == abs(pid)) {
261 "%s (arg = %p) thread exiting because pid received "
438 bool Host::FindProcessThreads(const lldb::pid_t pid, TidMap &tids_to_attach) {
445 : process_reaped(false), pid(LLDB_INVALID_PROCESS_ID), signo(-1),
449 lldb::pid_t pid;
455 MonitorShellCommand(std::shared_ptr<ShellInfo> shell_info, lldb::pid_t pid,
460 shell_info->pid = pid;
545 const lldb::pid_t pid = launch_info.GetProcessID();
547 if (error.Success() && pid == LLDB_INVALID_PROCESS_ID)
555 Kill(pid, SIGKILL);
614 void Host::Kill(lldb::pid_t pid, int signo) { ::kill(pid, signo); }