MCPcopy Create free account
hub / github.com/apache/trafficserver / start_thread

Method start_thread

src/mgmt/rpc/server/RPCServer.cc:71–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void
72RPCServer::start_thread(std::function<TSThread()> const &cb_init, std::function<void(TSThread)> const &cb_destroy)
73{
74 Dbg(dbg_ctl, "Starting RPC Server on: %s", _socketImpl->name().c_str());
75 _init = cb_init;
76 _destroy = cb_destroy;
77
78 ink_thread_create(&_this_thread, run_thread, nullptr, 0, 0, nullptr);
79}
80
81void
82RPCServer::stop_thread()

Callers 3

testRunStartingMethod · 0.80
restart_json_rpc_serverFunction · 0.80

Calls 3

ink_thread_createFunction · 0.85
c_strMethod · 0.45
nameMethod · 0.45

Tested by 2

testRunStartingMethod · 0.64
restart_json_rpc_serverFunction · 0.64