What is the expected thread execution in tm24?

Richi Dubey richidubey at gmail.com
Thu Jan 14 06:30:17 UTC 2021


In the Tasks function
when one of the OPERATION_COUNT thread calls rtems_task_wake_after(
RTEMS_YIELD_PROCESSOR), it yields the processor and goes
in the ready state. So, is it expected that the same thread gets the
execution again after the call to rtems_task_wake_after(
RTEMS_YIELD_PROCESSOR)? - because it is one of the threads with the highest
priority and is in the ready queue - like call to
rtems_task_wake_after in the High_task function?

If yes, the thread finishes its execution after the call to
rtems_task_wake_after and the function also ends, does RTEMS try to find
the next heir to execute?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210114/d2558681/attachment.html>

More information about the devel mailing list