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

Class hstcpsvr

handlersocket/hstcpsvr.cpp:37–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35};
36
37struct hstcpsvr : public hstcpsvr_i, private noncopyable {
38 hstcpsvr(const config& c);
39 ~hstcpsvr();
40 virtual std::string start_listen();
41 private:
42 hstcpsvr_shared_c cshared;
43 volatile hstcpsvr_shared_v vshared;
44 typedef thread<worker_throbj> worker_thread_type;
45 typedef auto_ptrcontainer< std::vector<worker_thread_type *> > threads_type;
46 threads_type threads;
47 std::vector<unsigned int> thread_num_conns_vec;
48 private:
49 void stop_workers();
50};
51
52namespace {
53

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected