QtTaskTree::ExecutionMode Class
class QtTaskTree::ExecutionModeThe 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: | |
| Status: | Technical Preview |
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.