MCPcopy 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
122private:
123 void Worker()

Callers 3

FinishMethod · 0.80
RunMethod · 0.80
RunTestFunction · 0.80

Calls 1

JoinMethod · 0.45

Tested by 1

RunTestFunction · 0.64