Skip to content
Commit 42036cdb authored by Wilfried Chauveau's avatar Wilfried Chauveau Committed by Carles Cufí
Browse files

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: default avatarWilfried Chauveau <wilfried.chauveau@arm.com>
parent 773739a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment