How do we know what priority of the Init task is?
Gedare Bloom
gedare at rtems.org
Wed Feb 24 16:03:55 UTC 2021
On Wed, Feb 24, 2021 at 12:14 AM Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> 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.
+1
The default should not change without careful consideration and a lot
of noise on users mailing list. I can imagine some corner cases where
the POSIX_Init default priority may have been implicitly relied upon.
> >
> > 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/
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list