Which threads execute _Thread_Handler ?

Richi Dubey richidubey at gmail.com
Fri Dec 4 07:56:14 UTC 2020


Hi,

When I am trying to debug tm24 running on the Strong APA scheduler code, I
can see that the thread which comes after the call to _CPU_Context_switch,
resumes execution from the same code (next line in the _Thread_Do_dispatch
function after _CPU_Context_switch), whereas when the same code is run on a
different scheduler (the default sp scheduler) the heir thread that
executes after the call to _CPU_Context_switch starts executing
from  _Thread_Handler and does not resume its execution from
the _Thread_Do_dispatch (which has the context_switch function call).

Why is this happening? Is the scheduler responsible for this?

Please advise.
Richi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20201204/123d3b96/attachment.html>


More information about the devel mailing list