A concurrent algorithm for avoiding deadlocks in multiprocess multiple resource systems

  • Authors:
  • Rafael O. Fontao

  • Affiliations:
  • -

  • Venue:
  • SOSP '71 Proceedings of the third ACM symposium on Operating systems principles
  • Year:
  • 1971

Quantified Score

Hi-index 0.00

Visualization

Abstract

In computer systems in which resources are allocated dynamically, algorithms must be executed whenever resources are assigned to determine if the allocation of these resources could possibly result in a deadlock, a situation in which two or more processes remain in an idle or blocked state indefinitely. In previous research, execution of the process requesting resources is suspended while an algorithm is executed to determine that the assignment could not cause a deadlock. In this paper, an algorithm is used to calculate all possible safe requests before they are made. This algorithm is executed concurrently with other processes between requests for resource allocations. If the determination of all safe requests has been completed and a process makes a request, the calculations required by the resource allocation are trivial.