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

Method stop_workers

handlersocket/hstcpsvr.cpp:132–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void
133hstcpsvr::stop_workers()
134{
135 vshared.shutdown = 1;
136 for (size_t i = 0; i < threads.size(); ++i) {
137 threads[i]->join();
138 }
139 threads.clear();
140}
141
142hstcpsvr_ptr
143hstcpsvr_i::create(const config& conf)

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
joinMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected