jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2185451688
########## sched/sched/sched_addreadytorun.c: ########## @@ -196,7 +196,7 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) * situation. */ - if (nxsched_islocked_tcb(this_task())) + if (nxsched_islocked_tcb(rtcb)) Review Comment: Yes, in theory. However, this PR was just to fix the existing implementation, not re-implementing it :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org