Task Groups

This section covers the high-level interface to the task scheduler. The Task Scheduler section covers the low-level interface. The high-level interface lets you easily create groups of potentially parallel tasks from functors or lambda expressions. The low-level interface permits more detailed control, such as control over exception propagation and affinity.

Summary

High-level interface for running functions in parallel.

Syntax

template<typename Func> task_handle;
template<typename Func> task_handle<Func> make_task( const Func& f );
enum task_group_status;
class task_group;
class structured_task_group;
bool is_current_task_group_canceling();