multiprocessing in Python 2.6 — Process-based “threading” interface

2008年09月04日 19:28 • 查看 1 次 • 打印本文

multiprocessing is a package that supports spawning processes using an API similar to the threading module. The multiprocessing package offers both local and remote concurrency, effectively side-stepping the Global Interpreter Lock by using subprocesses instead of threads. Due to this, the multiprocessing module allows the programmer to fully leverage multiple processors on a given machine. It runs on both Unix and Windows.

查看原文 »

评论

发表评论