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

Method run_thread

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

Source from the content-addressed store, hash-verified

57}
58
59void * /* static */
60RPCServer::run_thread(void *a)
61{
62 void *ret = a;
63 if (jsonrpcServer->_init) {
64 jsonrpcServer->_rpcThread = jsonrpcServer->_init();
65 }
66 jsonrpcServer->_socketImpl->run();
67 Dbg(dbg_ctl, "Socket stopped");
68 return ret;
69}
70
71void
72RPCServer::start_thread(std::function<TSThread()> const &cb_init, std::function<void(TSThread)> const &cb_destroy)

Callers

nothing calls this directly

Calls 2

_initMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected