What is a deadlock avoidance algorithm?
What is a deadlock avoidance algorithm?
Approach: Explain checking system state before resource allocation.
An algorithm that ensures a system never enters an unsafe state by checking if granting a resource request could lead to a deadlock.
Follow-up: How does the Banker's algorithm work?
Key concepts: banker's algorithm, safe state, resource allocation graph.