Re: protected type interrupts
- From: "Jeffrey R. Carter" <spam.not.jrcarter@xxxxxxxxxxxxxxxx>
- Date: Thu, 24 Aug 2006 23:47:10 GMT
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
.
- References:
- protected type interrupts
- From: REH
- Re: protected type interrupts
- From: Jean-Pierre Rosen
- Re: protected type interrupts
- From: REH
- protected type interrupts
- Prev by Date: Re: Ripple effect
- Next by Date: Re: protected type interrupts
- Previous by thread: Re: protected type interrupts
- Next by thread: Re: protected type interrupts
- Index(es):