Skip to content
Commit 5132022a authored by Florian Grandel's avatar Florian Grandel Committed by Carles Cufí
Browse files

kernel: spinlock: add assertion to protect K_SPINLOCK



Adds an assertion for the GCC toolchain to check whether the K_SPINLOCK
block was left without unlocking the spinlock, e.g. by calling break,
return or goto.

Signed-off-by: default avatarFlorian Grandel <fgrandel@code-for-humans.de>
parent 816d09c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment