docs: multiprocessing comparison

Not strictly a rival, but has enough commonalities to be worth noting
wip-fakessh-exit-status
Alex Willmer 7 years ago committed by David Wilson
parent 8c227b2bdd
commit 04f4851138

@ -129,6 +129,31 @@ Basically a Fabric-alike
.. _invoke: http://www.pyinvoke.org/ .. _invoke: http://www.pyinvoke.org/
Multiprocessing
###############
multiprocessing_ was added to the stdlib in Python 2.6.
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
There is a backport_ for Python 2.4 & 2.5, but it is not pure Python.
pymultiprocessing_ appears to be a pure Python implementation.
An ecosystem_ of packages has built up around multiprocessing.
The `programming guidelines`_ section notes
- Arguments to proxies must be picklable. On Windows this also applies to
``multiprocessing.Process.__init__()`` arguments.
- Callers should beware replacing ``sys.stdin``, because
``multiprocessing.Process._bootstrap()``
will close it and open /dev/null instead
.. _programming guidelines: https://docs.python.org/2/library/multiprocessing.html#programming-guidelines
.. _backport: https://pypi.python.org/pypi/multiprocessing
.. _pymultiprocessing: https://pypi.python.org/pypi/pymultiprocessing
.. _ecosystem: https://pypi.python.org/pypi?%3Aaction=search&term=multiprocessing&submit=search
Paver Paver
##### #####

Loading…
Cancel
Save