17 #ifndef __TBB_compat_ppl_H 18 #define __TBB_compat_ppl_H 20 #include "../task_group.h" 21 #include "../parallel_invoke.h" 22 #include "../parallel_for_each.h" 23 #include "../parallel_for.h" 24 #include "../tbb_exception.h" 25 #include "../critical_section.h" 26 #include "../reader_writer_lock.h" 27 #include "../combinable.h" 31 #if __TBB_TASK_GROUP_CONTEXT
task_handle< typename internal::strip< F >::type > make_task(F &&f)
void parallel_invoke(const F0 &f0, const F1 &f1, tbb::task_group_context &context)
Executes a list of tasks in parallel and waits for all tasks to complete.
Writer-preference reader-writer lock with local-only spinning on readers.
Exception for repeated scheduling of the same task_handle.
Thread-local storage with optional reduction.
internal::critical_section_v4 critical_section
void parallel_for(Index first, Index last, Index step, const Function &f)
Parallel iteration over a range of integers with a step provided and default partitioner.
bool is_current_task_group_canceling()
Exception for missing wait on structured_task_group.
void parallel_for_each(Iterator first, Iterator last, const Function &f, task_group_context &context)
Calls function f for all items from [first, last) interval using user-supplied context.