arch: arm: cortex_m: Only trigger context switch if thread is preemptible
This is a fix for #61761 where a cooperative task is switched from at the
end of an exception. A cooperative thread should only be switched from if
the thread exists the ready state.
Signed-off-by:
Wilfried Chauveau <wilfried.chauveau@arm.com>
Loading
Please sign in to comment