Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ WaitingStop
Method
WaitingStop
libs/base/thread_pool_computational.hpp:112–120 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
110
}
111
112
void WaitingStop()
113
{
114
{
115
std::unique_lock lock(m_mutex);
116
m_done = true;
117
}
118
m_condition.notify_all();
119
m_joiner.Join();
120
}
121
122
private:
123
void Worker()
Callers
3
Finish
Method · 0.80
Run
Method · 0.80
RunTest
Function · 0.80
Calls
1
Join
Method · 0.45
Tested by
1
RunTest
Function · 0.64