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

Method Join

libs/base/thread_utils.hpp:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 explicit ThreadsJoiner(ThreadContainer & threads) : m_threads(threads) {}
15
16 void Join()
17 {
18 for (auto & thread : m_threads)
19 if (thread.joinable())
20 thread.join();
21 }
22
23 ~ThreadsJoiner() { Join(); }
24

Callers

nothing calls this directly

Calls 2

joinableMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected