mirror of
https://github.com/apache/nuttx.git
synced 2026-09-24 16:56:03 +08:00
When supporting high-priority interrupts, updating the g_running_tasks within a high-priority interrupt may be cause problems. The g_running_tasks should only be updated when it is determined that a task context switch has occurred. Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>