Skip to content
Commit 8162e586 authored by Peter Bigot's avatar Peter Bigot Committed by Anas Nashif
Browse files

kernel: sched: assert when k_sleep invoked from interrupt context



Fix a gap where k_sleep(K_FOREVER) could execute a code path that
would not verify that the call was not from interrupt context.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 218b45b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment