comp.lang.ada
 help / color / mirror / Atom feed
* Protected Objects and Interrupt Handlers
@ 2016-02-23 22:25 Jere
  2016-02-23 23:09 ` Simon Wright
  2016-02-25 15:14 ` Maciej Sobczak
  0 siblings, 2 replies; 14+ messages in thread
From: Jere @ 2016-02-23 22:25 UTC (permalink / raw)


This is more of a curiosity, but I have noticed that a lot of embedded Ada examples that I run across use a protected type object to wrap the ISR for a particular interrupt.  I was wondering why this is?  Why not just use a normal Ada procedure for an interrupt?  I can understand using a protected object to handle procedures used by different tasks, but an ISR isn't a task per say.  So how do Ada's protected type object and procedure implementations work with interrupts?


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-03-13  8:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-23 22:25 Protected Objects and Interrupt Handlers Jere
2016-02-23 23:09 ` Simon Wright
2016-02-24 14:38   ` Jere
2016-02-24 18:29     ` Simon Wright
2016-02-24 21:37       ` Jere
2016-02-25 15:14 ` Maciej Sobczak
2016-02-25 15:59   ` Simon Wright
2016-02-26  3:20     ` Dennis Lee Bieber
2016-02-26  8:12       ` Simon Wright
2016-02-27 18:06     ` Maciej Sobczak
2016-02-25 16:02   ` Simon Wright
2016-02-25 17:40     ` Tero Koskinen
2016-02-25 19:49       ` Simon Wright
2016-03-13  8:10         ` Simon Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox