Home
last modified time | relevance | path

Searched refs:ready_threads (Results 1 – 1 of 1) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_concurrent_vector.cpp433 std::unique_ptr<std::atomic<int>[]> ready_threads{ new std::atomic<int>[threads_number]() }; in TestConcurrentOperationsWithUnSafeOperations() local
434 auto all_ready_leave = [&ready_threads, threads_number] { in TestConcurrentOperationsWithUnSafeOperations()
436 if (ready_threads[i].load(std::memory_order_relaxed) == 0) return false; in TestConcurrentOperationsWithUnSafeOperations()
443 &all_ready_leave, &ready_threads] (std::size_t thread_id) in TestConcurrentOperationsWithUnSafeOperations()
455 if (all_done()) ready_threads[thread_id] = 1; in TestConcurrentOperationsWithUnSafeOperations()