QtTaskTree::QThreadFunctionBase Class
class QtTaskTree::QThreadFunctionBaseUma classe base para um modelo de class QThreadFunction. Mais...
| Cabeçalho: | #include <qthreadfunctiontask.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS TaskTree) target_link_libraries(mytarget PRIVATE Qt6::TaskTree) |
| qmake: | QT += tasktree |
| Desde: | Qt 6.11 |
| Herdado por: | |
| Status: | Prévia tecnológica |
Esta classe está em prévia tecnológica e está sujeita a alterações.
Observação: Todas as funções nesta classe são reentrantes.
Membros públicos estáticos
| void | syncAll() |
Documentação das funções-membro
[static] void QThreadFunctionBase::syncAll()
Este método deve ser chamado ao encerrar o aplicativo para sincronizar a finalização de todas as funções que ainda possam estar em execução e que tenham sido iniciadas por meio de ` QThreadFunction`. A chamada deve ser executada a partir da thread principal.
Veja também ` 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.