• PySide 模块
  • PySide.QtCore
  • 内容表

    上一话题

    PySide.QtCore

    下一话题

    Qt

    QtConcurrent

    详细描述

    QtConcurrent namespace provides high-level APIs that make it possible to write multi-threaded programs without using low-level threading primitives.

    Qt Concurrent chapter in the threading 文档编制。

    PySide.QtCore.QtConcurrent. ReduceOption

    This enum specifies the order of which results from the map or filter function are passed to the reduce function.

    常量 描述
    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.)