QtTaskTree::ExecutionMode Class

class QtTaskTree::ExecutionMode

The group element describing execution mode. More...

Header: #include <qtasktree.h>
Inherits: QtTaskTree::GroupItem
Inherited By:

QtTaskTree::ParallelLimit

Note: All functions in this class are reentrant.

Detailed Description

The execution mode element in a Group specifies how the direct child tasks of the Group are started.

For convenience, you can use the sequential, parallel, parallelIdealThreadCountLimit, or ParallelLimit elements instead.

In all execution modes, a group starts tasks in the order in which they appear.

If a child of a group is also a group, the child group runs its tasks according to its own execution mode.

See also sequential, parallel, parallelIdealThreadCountLimit, and ParallelLimit.