MCPcopy Create free account
hub / github.com/Tencent/phxsql / WorkerThread

Method WorkerThread

phxsqlproxy/worker_thread.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace phxsqlproxy {
20
21WorkerThread::WorkerThread(PHXSqlProxyConfig * config, WorkerConfig_t * worker_config) :
22 config_(config),
23 worker_config_(worker_config),
24 connection_dispatcher_(NULL),
25 monitor_routine_(NULL),
26 io_routine_mgr_(NULL) {
27}
28
29WorkerThread::~WorkerThread() {
30 delete connection_dispatcher_, connection_dispatcher_ = NULL;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected