Introduction
Imagine you want to use your computer to open a game or write a document. The computer needs a way to start, keep track of, and stop these tasks. Process management is how the computer handles running programs smoothly and safely.
Think of a busy kitchen where chefs prepare different dishes. Each dish is like a process. The kitchen manager makes sure each chef has space and tools, switches attention between dishes, and cleans up when a dish is done.
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│ Start │──────▶│ Running │──────▶│ Waiting │
└───────────────┘ └───────────────┘ └───────────────┘
▲ │ │
│ ▼ ▼
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│ End │◀──────│ Finished │◀──────│ Stopped │
└───────────────┘ └───────────────┘ └───────────────┘