<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 3, 2017 at 12:39 AM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 31/03/17 20:22, Heinz Junkes wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
thank you for your answer. In the RTEMS Manual you can read<br>
that the initialization task should run at Maximum Priority (Classic API).<br>
(which sounds reasonable)<br>
<br>
If then the POSIX_Init should also be startet at that level -> POSIX prio 254?<br>
<br>
Instead of the low prio “2” ?<br>
</blockquote>
<br></span>
I am not sure if this is a bug or feature, but changing this would alter the behaviour of all existing applications using POSIX initialization threads.<br></blockquote><div><br></div><div>I don't remember the rationale for this selection either.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
You can change the priority in your initialization thread or we may add a new configuration option, e.g.<br>
<br>
CONFIGURE_POSIX_INIT_THREAD_PR<wbr>IORITY<span class=""><br>
<br></span></blockquote><div><br></div><div>We didn't know that initially because it required pulling in a fair number of POSIX<br>APIs to set the priority and other scheduling parameters. A priority only makes</div><div>sense in POSIX in the context of setting a policy. Before you know it, the confdefs.h</div><div>options needed to support more and we needed to call more APIs.</div><div><br></div><div>We opted for small and assumed the user would change when the thread ran</div><div>if they needed to.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone   : <a href="tel:%2B49%2089%20189%2047%2041-16" value="+4989189474116" target="_blank">+49 89 189 47 41-16</a><br>
Fax     : <a href="tel:%2B49%2089%20189%2047%2041-09" value="+4989189474109" target="_blank">+49 89 189 47 41-09</a><br>
E-Mail  : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brain<wbr>s.de</a><br>
PGP     : Public key available on request.<br>
<br></span>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div>