Doubt in rtems_task_wake_after
Richi Dubey
richidubey at gmail.com
Fri Nov 20 10:13:35 UTC 2020
Yes, it does. I should have thought about that. Thank you.
On Thu, Nov 19, 2020 at 11:42 PM Gedare Bloom <gedare at rtems.org> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20201120/5d31ffae/attachment.html>
More information about the devel
mailing list