Re: protected type interrupts
- From: Jean-Pierre Rosen <rosen@xxxxxxxxx>
- Date: Fri, 25 Aug 2006 19:27:08 +0200
REH a écrit :
"Jean-Pierre Rosen" <rosen@xxxxxxxxx> wrote in message news:mf6mce.8k2.ln@xxxxxxxxxxxxxxxxxxNot exactly. If your compiler doesn't use priority_ceiling by default (and you didn't specify it), then the priority is ignored.But since you specified a priority for the PO (and assuming priority_ceiling), you still execute at interrupt priority. Depending on the hardware and how priorities are managed, this may delay or hide actual interrupts.
Are you saying it may be better not to specify a priority?
Otherwise, the default priority of a protected object is Priority'Last (D.3(11)), which will result in ceiling violation if called from a PO which has a priority in the Interrupt_Priority range. You should then specify a priority at least as high as the one of the other PO.
--
---------------------------------------------------------
J-P. Rosen (rosen@xxxxxxxxx)
Visit Adalog's web site at http://www.adalog.fr
.
- References:
- protected type interrupts
- From: REH
- Re: protected type interrupts
- From: Jeffrey R. Carter
- Re: protected type interrupts
- From: Jean-Pierre Rosen
- Re: protected type interrupts
- From: REH
- protected type interrupts
- Prev by Date: Re: Information On How To Use The Ada Score Compiler For Windows PC
- Next by Date: Re: Simulating OS semaphore behavior
- Previous by thread: Re: protected type interrupts
- Next by thread: Re: protected type interrupts
- Index(es):
Relevant Pages
|