Re: protected type interrupts



REH a écrit :
"Jean-Pierre Rosen" <rosen@xxxxxxxxx> wrote in message news:mf6mce.8k2.ln@xxxxxxxxxxxxxxxxxx
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?

Not exactly. If your compiler doesn't use priority_ceiling by default (and you didn't specify it), then the priority is ignored.

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
.



Relevant Pages

  • Re: protected type interrupts
    ... priority_ceiling), you still execute at interrupt priority. ... the hardware and how priorities are managed, this may delay or hide actual ... Are you saying it may be better not to specify a priority? ...
    (comp.lang.ada)
  • Re: Thread Priorities
    ... I want to specify thread ... higher priority in the above pthread calls. ... Note that it's important to setinheritsched -- the default isn't specified by POSIX, but may be PTHREAD_INHERIT_SCHED, which means that regardless of any values you set in the attributes object a created thread will instead INHERIT scheduling attributes from the creating thread. ...
    (comp.programming.threads)
  • Re: [PATCH] 802.1p priority (fixed)
    ... >> talking about IEEE standard and should fully support it. ... > seperate interfaces for each priority for any vlan tag. ... Extend to ifconfig and vlan to be able to specify a DEFAULT vlan ...
    (freebsd-net)
  • Re: .BeginTrans
    ... specify which library to use in your Dim statement. ... Wayne Morgan ... I swapped the priority around. ...
    (microsoft.public.access.gettingstarted)
  • Re: Mysql Hogging all system resources
    ... In the last episode, ... I still want to know if there is a way to specify a nice ... level for an entire users processes. ... If you create a login class in /etc/login.conf and set the priority ...
    (freebsd-questions)