In questa pagina

QtTaskTree::QThreadFunctionBase Class

class QtTaskTree::QThreadFunctionBase

Una classe base per il modello di classe ` QThreadFunction `. Maggiori informazioni...

Intestazione: #include <qthreadfunctiontask.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS TaskTree)
target_link_libraries(mytarget PRIVATE Qt6::TaskTree)
qmake: QT += tasktree
A partire da: Qt 6.11
Ereditato da:

QtTaskTree::QThreadFunction

Stato: Anteprima tecnologica

Questa classe è in anteprima tecnologica ed è soggetta a modifiche.

Nota: tutte le funzioni di questa classe sono rientranti.

Membri pubblici statici

void syncAll()

Descrizione dettagliata

Documentazione delle funzioni membro

[static] void QThreadFunctionBase::syncAll()

Questo metodo deve essere chiamato alla chiusura dell'applicazione per sincronizzare la finalizzazione di tutte le funzioni ancora eventualmente in esecuzione che sono state avviate tramite QThreadFunction. La chiamata deve essere eseguita dal thread principale.

Vedi anche 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.