Abstract
Interrupt handlers are an important component of many real-time applications. Efficient implementation of interrupt handlers is often critical in such applications. The Ada 83/87 [1] model of task entries as interrupt handlers did not always meet the needs of the real-time community for efficient interrupt handlers so vendors provided special packages which addressed these needs. This situation led to the proliferation of incompatible interrupt handling mechanisms across multiple vendors.
Ada 9X [2] responds to the need for an efficient interrupt handling mechanism with the introduction of protected procedures as interrupt handlers. In addition, Ada 9X offers the user the facilities to both statically and dynamically attach interrupts to protected procedures.
The next section of this paper explains the Ada 83/87 interrupt model and some of its deficiencies. The discussion then proceeds to show how these problems are addressed in Ada 9X. This explanation includes an overview of protected types and a complete explanation of interrupt handlers in Ada 9X. The paper concludes with a description of what is permitted in an implementation and the effects on the user.
Preview
Unable to display preview. Download preview PDF.
References
Reference Manual for the Ada Programming Language. ISO8652-1987, United States Department of Defense, 1987.
Ada 9X Reference Manual. ANSI/ISO DIS 8652, 1994.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1994 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Tokar, J.L. (1994). Handling interrupts in Ada 9X. In: Toussaint, M. (eds) Ada in Europe. Ada-Europe 1994. Lecture Notes in Computer Science, vol 887. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-58822-1_117
Download citation
DOI: https://doi.org/10.1007/3-540-58822-1_117
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-58822-1
Online ISBN: 978-3-540-49110-1
eBook Packages: Springer Book Archive