Sur cette page

QtTaskTree::QThreadFunctionBase Class

class QtTaskTree::QThreadFunctionBase

Classe de base pour le modèle de classe QThreadFunction. Plus d'informations...

En-tête : #include <qthreadfunctiontask.h>
CMake : find_package(Qt6 REQUIRED COMPONENTS TaskTree)
target_link_libraries(mytarget PRIVATE Qt6::TaskTree)
qmake : QT += tasktree
Depuis : Qt 6.11
Hérité par :

QtTaskTree::QThreadFunction

Note : Toutes les fonctions de cette classe sont réentrantes.

Membres publics statiques

void syncAll()

Description détaillée

Documentation des fonctions membres

[static] void QThreadFunctionBase::syncAll()

Cette méthode doit être appelée à la sortie de l'application pour synchroniser la finalisation de toutes les fonctions encore en cours d'exécution qui ont été lancées via QThreadFunction. L'appel doit être exécuté à partir du thread principal.

Voir également 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.