Hi, This question is wrt the use of Scheduler_SMP_Preempt here <https://github.com/richidubey/rtems/blob/b94696c00c32bd9e5a74587af27a263794575919/cpukit/score/src/schedulerstrongapa.c#L245>. This function eventually calls Allocate_Processor and while tracing with gdb, everything is going as I planned, i.e. the correct node is getting preempted and the caller to it is getting allocated the CPU. But, the test fails here <https://github.com/richidubey/rtems/blob/b94696c00c32bd9e5a74587af27a263794575919/testsuites/smptests/smpstrongapa01/init.c#L182>, because eventually the heir is not changed.
Do I have to explicitly change the heir when I am trying to schedule a node/thread on a different processor? Is doing SMP_Preempt not enough? Please suggest. Thanks, Richi.
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel