QtConcurrent¶
The QtConcurrent namespace provides high-level APIs that make it possible to write multi-threaded programs without using low-level threading primitives. More…
Detailed Description¶
See the Qt Concurrent module documentation for an overview of available functions, or see below for detailed information on each function.
- PySide2.QtConcurrent.QtConcurrent.ThreadFunctionResult¶
- PySide2.QtConcurrent.QtConcurrent.ReduceOption¶
This enum specifies the order of which results from the map or filter function are passed to the reduce function.
Constant
Description
QtConcurrent.UnorderedReduce
Reduction is done in an arbitrary order.
QtConcurrent.OrderedReduce
Reduction is done in the order of the original sequence.
QtConcurrent.SequentialReduce
Reduction is done sequentially: only one thread will enter the reduce function at a time. (Parallel reduction might be supported in a future version of Qt Concurrent.)
© 2022 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.