zephyr/tests/kernel/spinlock
Christopher Friedt 28a8b151cf tests: kernel: spinlock: add test for k_spin_trylock()
Add a testcase to exercise two cases:
* when `k_spin_trylock()` fails (lock is busy)
* when `k_spin_trylock()` succeeds (lock is acquired)

We use the same machinery for checking for a recursive mutex
as `k_spin_lock()`.

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2023-07-05 21:06:55 -04:00
..
src tests: kernel: spinlock: add test for k_spin_trylock() 2023-07-05 21:06:55 -04:00
CMakeLists.txt
prj.conf tests: Fix spinlock time limit test 2022-10-22 14:37:03 +09:00
testcase.yaml tests: cleanup metadata and filtering 2023-06-13 09:38:27 -04:00