QtConcurrent Namespace
The QtConcurrent namespace provides high-level APIs that make it possible to write multi-threaded programs without using low-level threading primitives. More...
| Header: | #include <QtConcurrent> |
| qmake: | QT += concurrent |
| Since: | Qt 4.4 |
This namespace was introduced in Qt 4.4.
Types
| enum | ReduceOption { UnorderedReduce, OrderedReduce, SequentialReduce } |
Detailed Description
See the Qt Concurrent module documentation for an overview of available functions, or see below for detailed information on each function.
Type Documentation
enum QtConcurrent::ReduceOption
This enum specifies the order of which results from the map or filter function are passed to the reduce function.
| Constant | Value | Description |
|---|---|---|
QtConcurrent::UnorderedReduce | 0x1 | Reduction is done in an arbitrary order. |
QtConcurrent::OrderedReduce | 0x2 | Reduction is done in the order of the original sequence. |
QtConcurrent::SequentialReduce | 0x4 | 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.) |