Skip to content
Commit 37f75d2d authored by Watson Zeng's avatar Watson Zeng Committed by Carles Cufí
Browse files

kernel: sched: bug fix for trace and monitor



sys_trace_thread_abort and z_thread_monitor_exit in
z_thread_single_abort also need to be protected by
sched_spinlock, otherwise when after the spinlock
release, if there is an pending interrupt, it will cause an
sched in the interrrupt exit, and those trace and monitor
function will never reach.

Signed-off-by: default avatarWatson Zeng <zhiwei@synopsys.com>
parent 8240d7d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment