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

Class worker_throbj

handlersocket/hstcpsvr.cpp:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace dena {
27
28struct worker_throbj {
29 worker_throbj(const hstcpsvr_worker_arg& arg)
30 : worker(hstcpsvr_worker_i::create(arg)) { }
31 void operator ()() {
32 worker->run();
33 }
34 hstcpsvr_worker_ptr worker;
35};
36
37struct hstcpsvr : public hstcpsvr_i, private noncopyable {
38 hstcpsvr(const config& c);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected