Hi, I wanted to learn about how the reset <https://git.rtems.org/rtems/tree/testsuites/smptests/smpschededf02/init.c#n219> function in the smpschededf02/init.c works/what it aims for.
First <https://git.rtems.org/rtems/tree/testsuites/smptests/smpschededf02/init.c#n224>, we set the priority of the task in correspondence with their index, so Task 0 gets highest priority and set the affinity of all the task to both the processor. Then <https://git.rtems.org/rtems/tree/testsuites/smptests/smpschededf02/init.c#n229>, we suspend all the task by suspending their thread and enable the dispatch on thread's CPU. After that, why do we resume <https://git.rtems.org/rtems/tree/testsuites/smptests/smpschededf02/init.c#n234> the first two task and then again suspend <https://git.rtems.org/rtems/tree/testsuites/smptests/smpschededf02/init.c#n247>them by using the object id of their thread?
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel