masayuki2009 opened a new pull request #2737: URL: https://github.com/apache/incubator-nuttx/pull/2737
## Summary - During reviewing sched_lock() in nxtask_assign_pid(), I noticed that g_pidhash is not protected by a critical section - Because g_pidhash is accessed in an interrupt context, it should be protected by a critical section. - Actually, nxsched_foreach(), nxsched_get_tcb() and so on use a critical section. ## Impact - No impact ## Testing - Tested with spresense:wifi (non-SMP) and spresense:wifi_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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org