En esta página

QtTaskTree::QThreadFunctionBase Class

class QtTaskTree::QThreadFunctionBase

Una clase base para la plantilla de clase QThreadFunction. Más...

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

QtTaskTree::QThreadFunction

Nota: Todas las funciones de esta clase son reentrantes.

Miembros públicos estáticos

void syncAll()

Descripción Detallada

Documentación de las funciones de los miembros

[static] void QThreadFunctionBase::syncAll()

Este método debe ser llamado al salir de la aplicación para sincronizar la finalización de todas las funciones aún posiblemente en ejecución que se iniciaron a través de QThreadFunction. La llamada debe ejecutarse desde el hilo principal.

Véase también QThreadFunction::setAutoDelayedSync().

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