Definition
Starvation
Unlike a deadlock, where all involved processes are stuck, in starvation, other processes may continue to execute while the victim is ignored by the scheduler.
Causes
- Priority Scheduling: A high-priority process continually arrives, preventing low-priority processes from running.
- Unfair Mutual Exclusion: A resource is always granted to a specific group of processes.
Prevention
The most common solution to starvation is aging, where the priority of a process increases the longer it waits in the ready queue, eventually ensuring it is scheduled.