The Deadlock Problem
A set of blocked processes each holding a resource and waiting to acquire a resource held by another process in the set.
- System has 2 disk drives.
- P1 and P2 each hold one disk drive and each needs another one.
- semaphores A and B, initialized to 1