jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2191555409
########## 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: @xiaoxiang781216 , I marked this as draft last week and just today started working on the removal of g_pendingtasks for SMP (as I promised below). Please let me know if you are taking this over, so I will just close this PR! -- 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