Methods for Handling Deadlocks
- Disallow one of the four necessary conditions for deadlock.
- Do not grant a resource request if this allocation have the potential to lead to a deadlock.
- Always grant resource request when possible. Periodically check for deadlocks. If a deadlock exists, recover from it.
Ignore the problem...
- Makes sense if the likelihood is very low.