Auf dieser Seite

QtTaskTree::QThreadFunctionBase Class

class QtTaskTree::QThreadFunctionBase

Eine Basisklasse für QThreadFunction Klassenvorlagen. Mehr...

Kopfzeile: #include <qthreadfunctiontask.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS TaskTree)
target_link_libraries(mytarget PRIVATE Qt6::TaskTree)
qmake: QT += tasktree
Seit: Qt 6.11
Vererbt von:

QtTaskTree::QThreadFunction

Hinweis: Alle Funktionen in dieser Klasse sind reentrant.

Statische öffentliche Mitglieder

void syncAll()

Detaillierte Beschreibung

Dokumentation der Mitgliedsfunktionen

[static] void QThreadFunctionBase::syncAll()

Diese Methode sollte beim Beenden der Anwendung aufgerufen werden, um die Beendigung aller eventuell noch laufenden Funktionen, die über QThreadFunction gestartet wurden, zu synchronisieren. Der Aufruf muss vom Hauptthread aus erfolgen.

Siehe auch 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.