Software → Operating Systems
Multiprocessing
Using multiple processes to execute work concurrently or in parallel.
Motivation
Multiprocessing solves the problem of using multiple independent processes for isolation or parallel work.
Where it fits
Multiprocessing belongs to operating systems and concurrent programming.
Mental model
Processes do not share memory by default, so they provide stronger isolation than threads.
Subconcepts
Worker Process
A process dedicated to handling background, parallel, or distributed units of work.
Common mistakes
- Assuming process communication is free.
- Choosing multiprocessing when shared-memory threads would be simpler.
Related concepts
Multiprocessing connects to process, inter-process communication, worker process, and parallelism.