MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / thr_init

Class thr_init

handlersocket/hstcpsvr_worker.cpp:311–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309namespace {
310
311struct thr_init {
312 thr_init(const dbcontext_ptr& dc, volatile int& shutdown_flag) : dbctx(dc) {
313 dbctx->init_thread(this, shutdown_flag);
314 }
315 ~thr_init() {
316 dbctx->term_thread();
317 }
318 const dbcontext_ptr& dbctx;
319};
320
321}; // namespace
322

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected