DocumentCode
2815896
Title
Petri nets based proofs of Ada 95 solution for preference control
Author
Barkaoui, K. ; Kaiser, C. ; Pradat-Peyre, J.F.
Author_Institution
Lab. CEDRIC, Conservatoire Nat. des Arts et Metiers, Paris, France
fYear
1997
fDate
2-5 Dec 1997
Firstpage
238
Lastpage
248
Abstract
This paper presents correctness proofs of Ada 95 preference control solution for the dining philosophers paradigm. Preference control is the ability to satisfy a request depending on the parameters passed in by the calling task and often also on the internal state of the server. In Ada 95, this schema is implemented with protected objects, entry families and requeue statements within the protected object. Our aim is to show that the preference control can be described in terms of states and transitions, similar to reactive automaton descriptions. This description, which can be done in terms of colored Petri nets, can lead jointly to validate the chosen implementation and to program it with protected objects and requeue statements of Ada 95. The paper is issued from an examination exercise for our students that have followed a course on Programming and Validation of Concurrent Applications and is presented in form of progressive steps for which the students were expected to give answer. The paper contains three programmed solutions and proofs of absence of deadlock and of starvation
Keywords
Ada; Petri nets; concurrency control; program verification; programming theory; theorem proving; Ada 95; Petri nets based proofs; colored Petri nets; correctness proofs; deadlock; dining philosophers paradigm; entry families; preference control; protected objects; requeue statements; starvation; Art; Automata; Automatic control; Distributed control; File servers; Petri nets; Protection; Resource management; Sufficient conditions; System recovery;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference, 1997. Asia Pacific ... and International Computer Science Conference 1997. APSEC '97 and ICSC '97. Proceedings
Print_ISBN
0-8186-8271-X
Type
conf
DOI
10.1109/APSEC.1997.640181
Filename
640181
Link To Document