Skip to content
Commit 708ce033 authored by Mathieu Choplain's avatar Mathieu Choplain Committed by Anas Nashif
Browse files

kernel: spinlock: update k_spin_lock() documentation wrt context switch



Threads must not attempt to context switch if they are holding a spinlock.

Add this information to the documentation for k_spin_lock().

Signed-off-by: default avatarMathieu Choplain <mathieu.choplain@st.com>
parent af689aa7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment