zephyr/tests/kernel/spinlock
Jaxson Han 81ca50900d tests: kernel: spinlock: Fix test_trylock thread reusable issue
The test_trylock reuses the cpu1_thread, but there is no way for it to
exit. This will cause the thread created twice, as a result, two cpu
running the same thread simultaneously cause an unexpected crash.

Fix this by adding initialization of resources and also the exit for the
cpu1_thread.

Signed-off-by: Jaxson Han <jaxson.han@arm.com>
2023-08-02 16:34:04 +02:00
..
src tests: kernel: spinlock: Fix test_trylock thread reusable issue 2023-08-02 16:34:04 +02:00
CMakeLists.txt
prj.conf
testcase.yaml tests: cleanup metadata and filtering 2023-06-13 09:38:27 -04:00