Re: protected type interrupts




Jean-Pierre Rosen wrote:
C.3.1 (17) allows them to pretty much anything. Apparently, a
ceiling_priority is in effect (either because you specified it, or by
default), thus your task inherits the ceiling of the protected type
(which is an interrupt_priority), and this implementation seems to
forbid an entry to be called at an interrupt level.

Thanks for the reference. Is your work-around valid? Isn't calling
Relay_Object.Isr a potentially blocking operation, and thus a bad thing
to do in an interrupt?

Another work-around suggested to me was to move the processing logic
out of the entry and into the task, and just use the entry for the
triggerring. What do you think about this?

REH

.