Dealing with Deadlock
Deadlock Prevention
- Use a protocol to ensure statically that deadlock is impossible
Deadlock Avoidance
- Use a protocol to ensure dynamically that deadlock is impossible
Deadlock Detection and Recovery
- Allow deadlock to occur, but notice when it does and try to recover