Next:
Prevention
Up:
Deadlocks
Previous:
Resource Allocation Graphs
Handling Deadlocks
One might:
Ensure the system never enters a deadlock state in the first place, either through prevention or avoidance.
Allow the system to enter a deadlock state, and then recover.
Ignore the problem and pretend deadlocks never occur.
Subsections
Prevention
Avoidance
Avoidance — Allocation graph
Detection
Recovering from deadlock — Process Termination
Recovering from deadlock — Resource preemption