Files
zephyr/tests/kernel
Christopher Friedt 019a6ecae3 tests: kernel: mutex: test for lock timeout race
Say threadA holds a mutex and threadB tries
to lock it with a timeout, a race would occur
if threadA unlock that mutex after threadB
got unpended by sys_clock and before it gets
scheduled and calls k_spin_lock.

This patch supplies the test that can be used
to reproduce the problem and the fix that was
provided in #48056

Fixes #48056

Signed-off-by: Christopher Friedt <cfriedt@fb.com>
2022-09-30 09:45:37 +00:00
..
2022-09-09 07:05:38 -04:00
2022-09-09 07:05:38 -04:00
2022-09-19 19:15:59 +00:00
2022-08-02 16:41:41 +01:00