Doubt in importance of SCHEDULER_PRIORITY_APPEND
Richi Dubey
richidubey at gmail.com
Thu Jan 21 16:47:55 UTC 2021
I understand! Thank you for the clarification.
On Wed, Jan 20, 2021 at 11:20 PM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> On 20/01/2021 17:46, Joel Sherrill wrote:
>
> >
> > On Wed, Jan 20, 2021 at 1:50 AM Richi Dubey <richidubey at gmail.com
> > <mailto:richidubey at gmail.com>> wrote:
> >
> > Appending an item to its priority group means adding the item to
> > the end of the priority queue of items with the same priority, but
> > when/why do we do this? Do all classic tasks have their
> > SCHEDULER_PRIORITY_APPEND_FLAG set to 1?
> >
> >
> > There is (was) a specific case in the POSIX implementation that
> > required the thread to be placed at the head of the list. Hopefully it
> > is still there or all the Ada conformance tests will not pass. At
> > least, that was where I encountered code that depended on that very
> > precise behavior.
> Yes, it is pthread_setschedprio(), however, the special case is that it
> is prepended to its priority group.
>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax: +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210121/fc09be98/attachment-0001.html>
More information about the devel
mailing list