Searched refs:m_remaining (Results 1 – 1 of 1) sorted by relevance
49 explicit Barrier(int n) : m_threads(n), m_remaining(n) { } in Barrier()54 --m_remaining; in arrive_and_wait()55 while (m_remaining.load()) { in arrive_and_wait()61 --m_remaining; in arrive_and_drop()65 while ((m_threads - m_remaining.load()) < n) { in wait_for_threads()72 mutable std::atomic<int> m_remaining; member