<div dir="ltr">Hi Dr. Sherrill,<div><br></div><div>Thank you for your quick reply.</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You can always compare the behavior with a normal uniprocessor build. </blockquote><div>Yes, this is what I am doing. </div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">But this test has Init, High, IDLE, and OPERATION_COUNT+2 medium tasks. All should be at unique priorities.</blockquote><div>Yes, thanks for confirming. </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>It looks like the test is doing two timing operations. These are for specific yield cases. Which one isn't behaving right for you?</blockquote><div>The 2nd thread that executes the Tasks function exits and the code terminates, i.e. the execution does not transfer to the third Tasks thread function. </div><div><br></div><div>I have attached the gdb trace (executing at <a href="https://github.com/richidubey/rtems/blob/a60d87b321e6658e10f39f9dd3f7b2c003d84c3c/cpukit/score/src/schedulerstrongapa.c#L153">this</a> function)which shows that there are two different threads with High priority, but this should not be the case, right? There should only be a single High thread. Can you please take a look at it?</div><div><br></div><div>Thanks,</div><div>Richi. </div></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 28, 2020 at 9:25 PM Joel Sherrill <<a href="mailto:joel@rtems.org">joel@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 28, 2020, 12:18 AM Richi Dubey <<a href="mailto:richidubey@gmail.com" target="_blank">richidubey@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div><br></div><div>When I am debugging the tm24 running on Strong APA scheduler, I can see that when the <a href="https://git.rtems.org/rtems/tree/testsuites/tmtests/tm24/task1.c#n106" rel="noreferrer" target="_blank">Tasks</a> function is being executed, there are two threads with priority 2, with status SCHEDULER_SMP_NODE_BLOCKED in the list of threads, with both of them having different addresses. How can there be two such threads? Shouldn't there only be a single thread with priority 2 that runs the <a href="https://git.rtems.org/rtems/tree/testsuites/tmtests/tm24/task1.c#n77" rel="noreferrer" target="_blank">High_task</a> function? Please let me know your views about this.</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">You can always compare the behavior with a normal uniprocessor build. </div><div dir="auto"><br></div><div dir="auto">But this test has Init, High, IDLE, and OPERATION_COUNT+2 medium tasks. All should be at unique priorities.</div><div dir="auto"><br></div><div dir="auto">It looks like the test is doing two timing operations. These are for specific yield cases. Which one isn't behaving right for you?</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div><br></div><div><br></div><div>Thank you,</div><div>Richi.</div></div>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" rel="noreferrer" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div></div>
</blockquote></div>