hujun260 commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2185251309
########## 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: Can you remove g_pendingtasks In SMP ? -- 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