Commit 708ce03
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: Mathieu Choplain <[email protected]>1 parent af689aa commit 708ce03
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
178 | 181 | | |
179 | 182 | | |
180 | 183 | | |
| |||
0 commit comments