• DocumentCode
    1501473
  • Title

    A distributed deadlock detection and resolution algorithm and its correctness proof

  • Author

    Elmagarmid, Ahmed K. ; Soundararajan, Neelam ; Liu, Ming T.

  • Author_Institution
    Dept. of Comput. Sci., Purdue Univ., West Lafayette, IN, USA
  • Volume
    14
  • Issue
    10
  • fYear
    1988
  • Firstpage
    1443
  • Lastpage
    1452
  • Abstract
    The key idea of the algorithm is to let one transaction controller be in charge of all transactions in a set of interacting transactions. Two transactions are interacting if they are both interested in (accessing) the same resource. In addition, the controller is in charge of all the resources allocated to any of the transactions in the set. Having one controller in charge of all the transactions in a set of interacting transactions and all the resources allocated to them makes it easier to detect deadlocks and avoid them. The main problem dealt with is how a controller takes charge of another transaction when the transaction tries to access one of the resources currently in the control of the controller and how a controller releases a transaction back to its original controller when the transaction is no longer interested in any of the resources in which one or more of the other transactions are also interested. Communicating sequential processes (CSP) is used to code the algorithm. The correctness of the algorithm is proved in a semiformal manner.<>
  • Keywords
    distributed processing; program verification; programming theory; system recovery; transaction processing; communicating sequential processes; correctness proof; distributed deadlock detection; transaction controller; transaction processing; Computer science; Control systems; Information science; Radio control; Resource management; System recovery;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/32.6189
  • Filename
    6189