En esta página

QtTaskTree::QThreadFunctionBase Class

class QtTaskTree::QThreadFunctionBase

Una clase base para una plantilla de clas QThreadFunction. Más información...

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

Estado: Vista previa tecnológica

Esta clase se encuentra en fase de vista previa tecnológica y está sujeta a cambios.

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 miembro

[static] void QThreadFunctionBase::syncAll()

Este método debe invocarse al cerrar la aplicación para sincronizar la finalización de todas las funciones que aún puedan estar ejecutándose y que se hayan iniciado mediante 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.