On Thu, Jul 21, 2022 at 11:27 PM Fotis Panagiotopoulos <f.j.pa...@gmail.com>
wrote:

> Hello,
>
> I am having some issues with scheduling in simulator.
> I noticed that there is a "loop task", that performs various house-keeping
> tasks.
>
> This task is started with a priority of SCHED_PRIORITY_MIN.
> Is this correct / on-purpose?
>
>
The house keeping work ran in the idle loop before, but since some work may
sleep/wait internally, we have to move them to the "loop task". That's why
we select SCHED_PRIORITY_MIN.


> I would expect this task to run on maximum priority, simulating various
> interrupt or timer events that an MCU would normally have.
>

 It should be fine to increase the priority of the "loop task".

Reply via email to