On this page
article
multiprocessing — Process-Based Parallelism
Bypass the GIL with processes.
Overview
Bypass the GIL with processes.
Quick Example
Pool(4).map(func, items)
When to Use
Use this module when you need built-in support without adding third-party dependencies.
Common Tasks
- Read the official docs: docs.python.org/3/library/multiprocessing.html
- Combine with related modules in the Cookbook
- Prefer stdlib before reaching for PyPI packages