En esta página

QtTaskTree::ExecutionMode Class

class QtTaskTree::ExecutionMode

El elemento del grupo que describe el modo de ejecución. Más...

Cabecera: #include <qtasktree.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS TaskTree)
target_link_libraries(mytarget PRIVATE Qt6::TaskTree)
qmake: QT += tasktree
Desde: Qt 6.11
Hereda de: QtTaskTree::GroupItem
Heredado por:

QtTaskTree::ParallelLimit

Nota: Todas las funciones de esta clase son reentrantes.

Descripción detallada

El elemento execution mode de un Grupo especifica cómo se inician las tareas hijas directas del Grupo.

Para mayor comodidad, puede utilizar los elementos sequential, parallel, parallelIdealThreadCountLimit, o ParallelLimit en su lugar.

En todos los modos de ejecución, un grupo inicia las tareas en el orden en que aparecen.

Si un hijo de un grupo también es un grupo, el grupo hijo ejecuta sus tareas según su propio modo de ejecución.

Véase también sequential, parallel, parallelIdealThreadCountLimit, y ParallelLimit.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.