This example shows how to use QtConcurrent::run by calling a global function and printing the thread ID. As the documentation already explains the functionality very well, I don't think this example is necessary. https://doc.qt.io/qt-6/qtconcurrentrun.html Task-number: QTBUG-111165 Pick-to: 6.5 6.5.0 Change-Id: I42a718cdaabdaeeab39b933d12c67d11978c95da Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> |
||
|---|---|---|
| .. | ||
| imagescaling | ||
| progressdialog | ||
| wordcount | ||
| CMakeLists.txt | ||
| README | ||
| qtconcurrent.pro | ||
README
Qt 4 extends Qt's support for multithreaded applications with an API for concurrent programming which includes implementations of the well-known map-reduce and filter-reduce algorithms. Documentation for these examples can be found via the Examples link in the main Qt documentation.