Doubt in rtems_task_wake_after

Gedare Bloom gedare at rtems.org
Thu Nov 19 18:12:40 UTC 2020


On Wed, Nov 18, 2020 at 11:13 PM Richi Dubey <richidubey at gmail.com> wrote:
>
> Hi,
>
> In the program tm24, the Init task creates only 1 HIGH task that executes (after Init task finishes) the High_task function and then the Init task creates 100 REST or LOOP task which execute (After High_task finishes) the Tasks function.
>
> Then, how can the High_task call rtems_task_wake_after 100 times? Shouldn't it exit right after a single call to rtems_task_wake_after, since the function yields the processor that is held by the executing thread?
>
Yield is only to give up the processor to same priority tasks. Does that help?

> Please let me know how this works.
>
> Thanks,
> Richi.
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list