Process lifecycle
A process moves between states as the scheduler, I/O and the kernel interact. Knowing each transition makes scheduling, synchronization and deadlocks easy.
- 1New
- →2Ready
- →3Running
- →4Waiting
- →5Done
Every context switch saves the running process in its PCB and restores another, which is the hidden cost behind scheduling decisions.


