On Wed, Nov 18, 2020 at 11:13 PM Richi Dubey <richidu...@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@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to