MCPcopy Create free account
hub / github.com/MariaDB/server / stop_workers

Method stop_workers

plugin/handler_socket/handlersocket/hstcpsvr.cpp:130–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void
131hstcpsvr::stop_workers()
132{
133 vshared.shutdown = 1;
134 for (size_t i = 0; i < threads.size(); ++i) {
135 threads[i]->join();
136 }
137 threads.clear();
138}
139
140hstcpsvr_ptr
141hstcpsvr_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