Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Florian Grandel <fgrandel@code-for-humans.de>
- Loading branch information