Lines Matching refs:threads
163 threads.emplace_back(std::forward<Args>(args)...); in Create()
179 for (auto& t : threads) { in JoinAll()
185 std::vector<std::thread> threads; member
193 ThreadGroup threads; in test_free_for_all() local
196 threads.CreateThreadsWithBarrier(num_waiters, in test_free_for_all()
204 threads.JoinAll(); in test_free_for_all()
214 ThreadGroup threads; in test_waiting_for_init() local
217 threads.Create(test_obj.access_callback( in test_waiting_for_init()
231 threads.CreateThreadsWithBarrier(num_waiters, in test_waiting_for_init()
238 threads.JoinAll(); in test_waiting_for_init()
251 ThreadGroup threads; in test_aborted_init() local
252 threads.Create(test_obj.access_callback( in test_aborted_init()
262 threads.CreateThreadsWithBarrier(num_waiters, in test_aborted_init()
272 threads.JoinAll(); in test_aborted_init()
290 ThreadGroup threads; in test_completed_init() local
291 threads.CreateThreadsWithBarrier(num_waiters, in test_completed_init()
295 threads.JoinAll(); in test_completed_init()