<div dir="ltr">I understand! Thank you for the clarification.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 20, 2021 at 11:20 PM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 20/01/2021 17:46, Joel Sherrill wrote:<br>
<br>
><br>
> On Wed, Jan 20, 2021 at 1:50 AM Richi Dubey <<a href="mailto:richidubey@gmail.com" target="_blank">richidubey@gmail.com</a> <br>
> <mailto:<a href="mailto:richidubey@gmail.com" target="_blank">richidubey@gmail.com</a>>> wrote:<br>
><br>
> Appending an item to its priority group means adding the item to<br>
> the end of the priority queue of items with the same priority, but<br>
> when/why do we do this? Do all classic tasks have their<br>
> SCHEDULER_PRIORITY_APPEND_FLAG set to 1?<br>
><br>
><br>
> There is (was) a specific case in the POSIX implementation that <br>
> required the thread to be placed at the head of the list. Hopefully it <br>
> is still there or all the Ada conformance tests will not pass. At <br>
> least, that was where I encountered code that depended on that very <br>
> precise behavior.<br>
Yes, it is pthread_setschedprio(), however, the special case is that it <br>
is prepended to its priority group.<br>
<br>
-- <br>
embedded brains GmbH<br>
Herr Sebastian HUBER<br>
Dornierstr. 4<br>
82178 Puchheim<br>
Germany<br>
email: <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
phone: +49-89-18 94 741 - 16<br>
fax: +49-89-18 94 741 - 08<br>
<br>
Registergericht: Amtsgericht München<br>
Registernummer: HRB 157899<br>
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler<br>
Unsere Datenschutzerklärung finden Sie hier:<br>
<a href="https://embedded-brains.de/datenschutzerklaerung/" rel="noreferrer" target="_blank">https://embedded-brains.de/datenschutzerklaerung/</a><br>
<br>
</blockquote></div>