- Qt 6.12
- Qt TaskTree
- C++ Classes
- ExecutionMode
- Qt 6.12.0 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
Status: | Technology preview

This class is in technology preview and is subject to change.

- 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.