DocumentCode :
2994297
Title :
Deadlock analysis of synchronous message-passing programs
Author :
Zhou, Jun ; Tai, Kuo-Chung
Author_Institution :
Dept. of Comput. Sci., North Carolina State Univ., Raleigh, NC, USA
fYear :
1999
fDate :
1999
Firstpage :
62
Lastpage :
69
Abstract :
Reachability analysis of a concurrent program involves the derivation of states of the program and the detection of deadlocks and other types of faults. To perform reachability analysis of a concurrent program P, the number of instances of each process type in P needs to be determined. How to select such numbers for P is a difficult issue. If these numbers are large, reachability analysis of P needs huge memory and very long CPU time. If these numbers are small, we have little confidence on whether P is deadlock-free for larger numbers of instances of process types in P. A deadlock cutoff number C for a process type T in P means that if under certain conditions P with C instances of T has no deadlocks, then P has no dead locks for any number of instances of T. We describe methods for finding deadlock cutoff numbers for three types of synchronous message-passing programs. Our methods are based on the theory of Milner´s CCS. By applying these methods, the effort for detecting deadlocks in many synchronous message-passing programs can be significantly reduced. Empirical results of applying our methods to solutions to the dining philosophers and readers and writers problems are presented
Keywords :
calculus of communicating systems; concurrency control; message passing; parallel programming; program verification; reachability analysis; CCS; concurrent program; deadlock analysis; deadlock cutoff numbers; dining philosophers; reachability analysis; readers and writers problem; synchronous message-passing programs; Reachability analysis;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering for Parallel and Distributed Systems, 1999. Proceedings. International Symposium on
Conference_Location :
Los Angeles, CA
Print_ISBN :
0-7695-0191-5
Type :
conf
DOI :
10.1109/PDSE.1999.779739
Filename :
779739
Link To Document :
بازگشت