Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
215
void 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
224
bool DelayedThreadPool::IsShutDown()
225
{
Callers
3
FinishAll
Method · 0.45
UNIT_TEST
Function · 0.45
ShutdownThreads
Method · 0.45
Calls
3
joinable
Method · 0.80
join
Method · 0.45
clear
Method · 0.45
Tested by
1
UNIT_TEST
Function · 0.36