commit | 37f75d2d1f80b1baf54cd2303ba85e65d5bf0a6a | [log] [tgz] |
---|---|---|
author | Watson Zeng <zhiwei@synopsys.com> | Tue Sep 15 11:00:39 2020 +0800 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Sep 17 09:30:22 2020 +0200 |
tree | 692ea653b1b487e244c9de3089290954bf2c2005 | |
parent | 8240d7d07b6d5bfe219d3cf2acc59a10c3d4758e [diff] |
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: Watson Zeng <zhiwei@synopsys.com>