Abstract
The Ravenscar Profile is a restricted subset of the Ada tasking model, designed to meet the requirements of producing analysable and deterministic code. A central feature of Ravenscar is the use of protected objects to ensure mutually exclusive access to shared data. This paper uses Ravenscar protected objects to implement CSP channels in Ada – the proposed implementation is formally verified using model checking. The advantage of these Ravenscar channels is transforming the data-oriented asynchronous tasking model of Ravenscar into the cleaner message-passing synchronous model of CSP. Thus, formal proofs and techniques for model-checking CSP specifications can be applied to Ravenscar programs. In turn, this increases confidence in these programs and their reliability. Indeed, elsewhere, we use the proposed Ravenscar channels as the basis for a cost-effective technique for verifying concurrent safety-critical system.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Atiya, D.: Verification of Concurrent Safety–critical Systems: The Compliance Notation Approach. PhD thesis, University of York (October 2004) (submitted)
Atiya, D.M., King, S., Woodcock, J.C.P.: A Circus semantics for Ravenscar protected objects. In: Araki, K., Gnesi, S., Mandrioli, D. (eds.) FME 2003. LNCS, vol. 2805, pp. 617–635. Springer, Heidelberg (2003)
Burns, A., Dobbing, B., Romanski, G.: The Ravenscar Tasking Profile for High Integrity Real-Time Programs. In: Asplund, L. (ed.) Ada-Europe 1998. LNCS, vol. 1411, pp. 263–275. Springer, Heidelberg (1998)
Burns, A., Dobbing, B., Vardanega, T.: Guide for the use of the Ada Ravenscar Profile in high integrity systems. Technical Report YCS-2003-348, Department of Computer Science, University of York, UK (January 2003)
Formal Systems (Europe) Ltd. Failures-divergences refinement: FDR2 user manual (May 2000)
Roscoe, A.W.: The Theory and Practice of Concurrency. Prentice Hall International Series in Computer Science. Prentice-Hall, Englewood Cliffs (1998)
SGS-THOMSON Microelectronics Limited. occam 2.1 reference manual (May 1995)
Welch, P.H., Martin, J.M.R.: A CSP Model for Java Multithreading. In: Nixon, P., Ritchie, I. (eds.) Software Engineering for Parallel and Distributed Systems, ICSE 2000, June 2000, pp. 114–122. IEEE Computer Society Press, Los Alamitos (2000)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Atiya, DA., King, S. (2005). Extending Ravenscar with CSP Channels. In: Vardanega, T., Wellings, A. (eds) Reliable Software Technology – Ada-Europe 2005. Ada-Europe 2005. Lecture Notes in Computer Science, vol 3555. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11499909_7
Download citation
DOI: https://doi.org/10.1007/11499909_7
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-26286-2
Online ISBN: 978-3-540-31666-4
eBook Packages: Computer ScienceComputer Science (R0)