multiprocessing – Manage processes like threads¶
|Purpose:||Provides an API for managing processes.|
The multiprocessing module includes a relatively simple API for dividing work up between multiple processes. It is based on the API for threading, and in some cases is a drop-in replacement. Due to the similarity, the first few examples here are modified from the threading examples. Features provided by multiprocessing but not available in threading are covered later.
- multiprocessing Basics
- Communication Between Processes
- Implementing MapReduce with multiprocessing