QtTaskTree::QThreadFunctionBase Class
class QtTaskTree::QThreadFunctionBaseQThreadFunction 类模板的基类。更多
| 头文件: | #include <qthreadfunctiontask.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS TaskTree)target_link_libraries(mytarget PRIVATE Qt6::TaskTree) |
| qmake: | QT += tasktree |
| 自 | Qt 6.11 |
| 继承: |
注意:该类中的所有函数都是可重入的。
静态公共成员
| void | syncAll() |
成员函数文档
[static] void QThreadFunctionBase::syncAll()
该方法应在应用程序退出时调用,以同步最终完成所有仍在运行的函数,这些函数可能是通过QThreadFunction 启动的。该调用必须在主线程中执行。
© 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.