Lines Matching refs:CountingTask
48 class CountingTask : public tbb::detail::d1::task { class
50 CountingTask( Body body, tbb::detail::d1::wait_context& wait ) : my_body(body), my_wait(wait) {} in CountingTask() function in CountingTask
52 CountingTask( tbb::detail::d1::wait_context& wait ) : my_wait(wait) {} in CountingTask() function in CountingTask
89 std::atomic<std::size_t> CountingTask<Body>::my_execute_counter(0);
92 std::atomic<std::size_t> CountingTask<Body>::my_cancel_counter(0);
101 CountingTask<decltype(throw_body)> task(throw_body, wait); in test_cancellation_on_exception()
144 CountingTask<> test_task(wait);
154 …REQUIRE_MESSAGE(CountingTask<>::execute_counter() == iter_counter, "The task was not executed nece…
155 … REQUIRE_MESSAGE(CountingTask<>::cancel_counter() == 0, "Some instance of the task was canceled");
156 CountingTask<>::reset();
178 using task_type = CountingTask<decltype(barrier_wait)>;
221 using task_type = CountingTask<decltype(barrier_wait)>;
266 using task_type = CountingTask<decltype(barrier_wait)>;
299 using SpawningTask = CountingTask<SpawningTaskBody>;
498 using task_type = CountingTask<decltype(suspend_func)>;
533 using task_type = CountingTask<decltype(task_body)>;
553 using suspend_task_type = CountingTask<decltype(suspend_func)>;
595 using task_type = CountingTask<decltype(task_body)>;
684 using task_type = CountingTask<decltype(task_body)>;
769 using suspend_task_type = CountingTask<decltype(critical_work)>;