mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 02:18:38 +08:00
8f39ba6ae4
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>