Deadlocks
A deadlock occurs when processes are waiting for resources held by each other.
Four Necessary Conditions (Coffman)
- Mutual Exclusion: Resources cannot be shared
- Hold and Wait: Process holds resources while waiting
- No Preemption: Resources cannot be forcibly taken
- Circular Wait: Circular chain of waiting processes