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

Richi Dubey richidubey at gmail.com
Tue Feb 23 05:43:39 UTC 2021


Hi,

Just confirming, The initial priority is 1, and when converted
to _RTEMS_Priority_To_core, it becomes 2 (because of the append indicator
added by default map priority). Right?

On Tue, Nov 17, 2020 at 11:19 PM Richi Dubey <richidubey at gmail.com> wrote:

> Awesome, thanks!
>
> On Tue, Nov 17, 2020 at 9:53 PM Joel Sherrill <joel at rtems.org> wrote:
>
>>
>>
>> On Tue, Nov 17, 2020, 9:50 AM Richi Dubey <richidubey at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Sometimes the priority of the Init task is not mentioned in the source
>>> code of the test suites of the headers files included in it (ex. see
>>> tm24 <https://git.rtems.org/rtems/tree/testsuites/tmtests/tm24/task1.c>).
>>> Can someone please let me know how we can understand what the priority of
>>> the Init task is? Is there a constant value for Init's priority when it's
>>> not explicitly mentioned?
>>>
>>
>> Yes. It defaults to 1. This is defaulted in one of the confdef subfiles
>> now and documented in the configuring a system chapter if the Classic API
>> Guide
>>
>>>
>>> Thanks,
>>> Richi.
>>> _______________________________________________
>>> devel mailing list
>>> devel at rtems.org
>>> http://lists.rtems.org/mailman/listinfo/devel
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210223/79b84faa/attachment.html>


More information about the devel mailing list