QtTaskTree::ExecutionMode Class | Qt TaskTree | Qt 6.11.1
Description: The group element describing execution mode.

- Qt 6.11
- Qt TaskTree
- C++ Classes
- ExecutionMode
- Qt 6.11.1 Reference Documentation

# QtTaskTree::ExecutionMode Class

class QtTaskTree::ExecutionMode

The group element describing execution mode. More...

Header: | `#include <qtasktree.h>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS TaskTree)` `target_link_libraries(mytarget PRIVATE Qt6::TaskTree)`
qmake: | `QT += tasktree`
Since: | Qt 6.11
Inherits: | QtTaskTree::GroupItem
Inherited By: | QtTaskTree::ParallelLimit

- List of all members, including inherited members

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.