MCPcopy Create free account
hub / github.com/ceph/ceph / kill

Method kill

src/common/SubProcess.cc:108–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void SubProcess::kill(int signo) const {
109 ceph_assert(is_spawned());
110
111 int ret = ::kill(pid, signo);
112 ceph_assert(ret == 0);
113}
114
115const std::string SubProcess::err() const {
116 return errstr.str();

Callers

nothing calls this directly

Calls 1

killFunction · 0.85

Tested by

no test coverage detected