17 #include "../internal/_deprecated_header_message_guard.h" 19 #if !defined(__TBB_show_deprecation_message_ppl_H) && defined(__TBB_show_deprecated_header_message) 20 #define __TBB_show_deprecation_message_ppl_H 21 #pragma message("TBB Warning: tbb/compat/ppl.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.") 24 #if defined(__TBB_show_deprecated_header_message) 25 #undef __TBB_show_deprecated_header_message 28 #ifndef __TBB_compat_ppl_H 29 #define __TBB_compat_ppl_H 31 #define __TBB_ppl_H_include_area 32 #include "../internal/_warning_suppress_enable_notice.h" 34 #include "../task_group.h" 35 #include "../parallel_invoke.h" 36 #include "../parallel_for_each.h" 37 #include "../parallel_for.h" 38 #include "../tbb_exception.h" 39 #include "../critical_section.h" 40 #include "../reader_writer_lock.h" 41 #include "../combinable.h" 45 #if __TBB_TASK_GROUP_CONTEXT 64 using tbb::critical_section;
65 using tbb::reader_writer_lock;
72 #include "../internal/_warning_suppress_disable_notice.h" 73 #undef __TBB_ppl_H_include_area
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.
Thread-local storage with optional reduction.
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.
Exception for repeated scheduling of the same task_handle.
task_handle< typename internal::strip< F >::type > make_task(F &&f)
Exception for missing wait on structured_task_group.
bool is_current_task_group_canceling()
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.