How do we know what priority of the Init task is?

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Feb 24 07:13:58 UTC 2021


On 23/02/2021 23:41, Chris Johns wrote:

> On 24/2/21 9:26 am, dufault at hda.com wrote:
>> I re-read Joel's mail and I agree, the priority should be left ridiculously low (as it is now) or maybe set in the middle (but why bother?).
>>
>> I was thinking about matching classic RTEMS behavior.  I don't think it matters in POSIX.
> The SYSINIT and constructors run on the first created thread before it is
> enteretd so it makes me wonder if we test initialisation with both types of init
> task?
The SYSINIT doesn't run in a task context. It runs in whatever context 
is set up by the BSP low level initialization. Global construction is 
tested for all initialization task variants.
>
> Using the same priority would avoid any complication.
Maybe we should add configuration options for the POSIX initialization 
thread.
>
> Chris
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel

-- 
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/



More information about the devel mailing list