From: Jere <jere.groups@gmail.com>
Subject: Protected Objects and Interrupt Handlers
Date: Tue, 23 Feb 2016 14:25:07 -0800 (PST)
Date: 2016-02-23T14:25:07-08:00 [thread overview]
Message-ID: <7663896a-a15e-47fd-8c7e-54a1c20d8d0f@googlegroups.com> (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?
next reply other threads:[~2016-02-23 22:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-23 22:25 Jere [this message]
2016-02-23 23:09 ` Protected Objects and Interrupt Handlers 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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox