casaroli commented on code in PR #21393: URL: https://github.com/apache/nuttx/pull/21393#discussion_r4453170265
########## sched/init/nx_smpstart.c: ########## @@ -79,6 +81,15 @@ void nx_idle_trampoline(void) while (!OSINIT_IDLELOOP()); + /* A task delivered to this CPU before it could take interrupts may have + * lost its inter-processor interrupt. Clear the stale request, which + * would block every later delivery here; sched_unlock() runs the task. + */ + + flags = enter_critical_section(); Review Comment: Done. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
