An Integrated Deadlock Approach
Group Resources into a number of different classes and order them.
Use prevention of circular wait to prevent deadlock between resource classes.
Use the best approach for each class to handle deadlocks within each class.
In a practical system, some of the previous
approaches can be integrated.