This paper shows a new distributed algorithm for deadlock detection and resolution under the single-resource request model that highly improves the complexity measurements of previous proposals. The algorithm has a communication cost of 2n − 1 messages and a latency of n·T for a deadlock cycle of n processes, where T is the inter-site communication delay. The algorithm achieves this improvement even satisfying the strongest correctness criteria considered in previous works: it resolves all deadlocks in finite time and does not resolve false deadlocks.
Manuel Prieto, Jesús E. Villadangos, Federi