Deadlock Detection
Algorithms to identify and resolve situations where transactions are blocked indefinitely, waiting for each other.
📜
The statement of the theorem
Let be a Resource Allocation Graph, where is the set of transactions and represents resource dependencies. Define such that an edge exists if transaction is waiting for a resource currently held by . A deadlock occurs if and only if the graph contains a cycle: The detection algorithm must identify such cycles by traversing the dependency graph.
Source: Wikipedia