multiprocessing – Manage processes like threadsΒΆ
Purpose: | Provides an API for managing processes. |
---|---|
Available In: | 2.6 |
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.
See also
- multiprocessing
- The standard library documentation for this module.
- threading
- High-level API for working with threads.