MCPcopy Create free account
hub / github.com/comaps/comaps / ShutdownAndJoin

Method ShutdownAndJoin

libs/base/thread_pool_delayed.cpp:215–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215void DelayedThreadPool::ShutdownAndJoin()
216{
217 Shutdown(m_exit);
218 for (auto & thread : m_threads)
219 if (thread.joinable())
220 thread.join();
221 m_threads.clear();
222}
223
224bool DelayedThreadPool::IsShutDown()
225{

Callers 3

FinishAllMethod · 0.45
UNIT_TESTFunction · 0.45
ShutdownThreadsMethod · 0.45

Calls 3

joinableMethod · 0.80
joinMethod · 0.45
clearMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.36