Hi, In the program tm24 <https://git.rtems.org/rtems/tree/testsuites/tmtests/tm24/task1.c>, the Init task creates <https://git.rtems.org/rtems/tree/testsuites/tmtests/tm24/task1.c#n47> only 1 HIGH task that executes (after Init task finishes) the High_task function and then the Init task creates <https://git.rtems.org/rtems/tree/testsuites/tmtests/tm24/task1.c#n61> 100 REST or LOOP task which execute (After High_task finishes) the Tasks function.
Then, how can the High_task call <https://git.rtems.org/rtems/tree/testsuites/tmtests/tm24/task1.c#n90> 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? Please let me know how this works. Thanks, Richi.
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel