Skip to content
Commit 0244d01f authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

xtensa/asm2: Don't return into dead threads



It's not impossible that something we just handled (e.g. a machine
exception) called k_thread_abort() on our current thread.  Don't try
to return into it, check the DEAD state.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 3f5027f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment