MCPcopy Create free account
hub / github.com/chen3feng/toft / SendSignal

Method SendSignal

system/process/sub_process.cpp:318–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318bool SubProcess::SendSignal(int signal)
319{
320 CHECK_GT(m_pid, 1) << "Invalid pid";
321 return kill(m_pid, signal) == 0;
322}
323
324bool SubProcess::IsAlive() const
325{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected