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> |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
| prj.conf | ||
| testcase.yaml | ||