11 : m_threads(threads) {}
16 for (
size_t i = 0; i < m_threads.size(); i++)
18 if (m_threads[i].joinable())
25 std::vector<std::thread> & m_threads;
Definition: JoinThreads.hpp:8
~JoinThreads()
Definition: JoinThreads.hpp:14
JoinThreads(std::vector< std::thread > &threads)
Definition: JoinThreads.hpp:10