next up previous contents index
Next: Ada Model of Interrupts Up: A Detailed Description of Previous: Summary   Contents   Index


Interrupts

Ada allows the programmer to associate a user defined interrupt handler to some interrupts [AAR95, section C.3(1)]. Although the interrupt handler can be a protected procedure or a task entry, currently the association of a task entry is considered an obsolescent feature [AAR95, section J.7] of the language. Therefore, in this chapter we will focus our attention on user defined protected procedure interrupt handlers.

This chapter is structured in two parts. In the first part the main aspects of the Ada attachment of user defined protected procedures to interrupt are presented. In the second part the main aspects of the GNAT implementation are described.



Subsections

(c) Javier Miranda. Canary Islands (Spain), 2002. Version 1.0