A transformation to provide deadlock-free programs

  • Authors:
  • Pablo Boronat;Vicente Cholvi

  • Affiliations:
  • Dept. LSI, Universidad Jaume I, Castellón, Spain;Dept. LSI, Universidad Jaume I, Castellón, Spain

  • Venue:
  • ICCS'03 Proceedings of the 2003 international conference on Computational science: PartII
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

A commonly employed technique to control access to shared resources in concurrent programs consists of using criticalsections. Unfortunately, it is wellkno wn that programs using severalcriticalsections may suffer from deadlocks. In this paper we introduce a new approach for ensuring deadlock-freedom in a transparent manner from the programmer's point of view. Such an approach consists of obtaining a deadlock-free "version" of the original program by using some program transformations. We formally prove the correctness of those transformations and we analyze their applicability.