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

Function kill

src/common/Thread.cc:207–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205// =========================
206
207void kill(std::thread& t, int signal)
208{
209 auto r = ceph_pthread_kill(t.native_handle(), signal);
210 if (r != 0) {
211 throw std::system_error(r, std::generic_category());
212 }
213}

Callers 10

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
do_unmapFunction · 0.85
do_detachFunction · 0.85
TESTFunction · 0.85
killMethod · 0.85
execMethod · 0.85
fork_functionFunction · 0.85

Calls 1

native_handleMethod · 0.80

Tested by 1

TESTFunction · 0.68