QtTaskTree::QThreadFunctionBase Class
class QtTaskTree::QThreadFunctionBaseEine Basisklasse für die Klassenvorlag QThreadFunction. Mehr...
| Header: | #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 an: | |
| Status: | Technologievorschau |
Diese Klasse befindet sich in der Technologievorschau und kann sich noch ändern.
Hinweis: Alle Funktionen dieser Klasse sind reentrant.
Statische öffentliche Mitglieder
| void | syncAll() |
Dokumentation der Mitgliedsfunktionen
[static] void QThreadFunctionBase::syncAll()
Diese Methode sollte beim Beenden der Anwendung aufgerufen werden, um die Beendigung aller möglicherweise noch laufenden Funktionen zu synchronisieren, die über ` QThreadFunction` gestartet wurden. 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.