【发布时间】:2011-10-31 15:12:52
【问题描述】:
有没有一种方法可以使用类似于 Apple 的Grand Central Dispatch 的概念在 Python 中进行并行处理?从一开始,Grand Central Dispatch 看起来就是一种处理并行处理的好方法。
如果 Python 没有基本等效的模块,那么 Grand Central Dispatch 背后的哪些基本概念可以在 Python 中有用地实现?
我对 Grand Central Dispatch 了解不多,因此提出了这个问题:我很想知道 Grand Central Dispatch 是否使用 (1) Python 中尚不可用的范例,和/或 (2) 是否可以用 Python 实现。
【问题讨论】:
-
见
multiprocessingdocs.python.org/library/multiprocessing.html -
@AustinMarshall:你的意思是
multiprocessing基本上包含了Grand Central Dispatch 的所有核心概念吗?
标签: python parallel-processing grand-central-dispatch