Re: protected type interrupts



REH wrote:

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?

That is probably a good idea. Your protected object has a ceiling priority that is an interrupt priority, so the entry body, whether executed by the calling task or by the thread of control from the interrupt, is executed at an interrupt priority. It's not a good idea to do any extensive processing at an interrupt priority. Moving the processing into the task allows it to be done at a lower priority.

--
Jeff Carter
"Now go away or I shall taunt you a second time."
Monty Python & the Holy Grail
07
.