mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
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>