zephyr/tests/kernel/threads/dynamic_thread/src
Carlo Caione b76cbe9af9 test: dynamic_thread: Fix race condition
There is a race between k_sem_take() and k_object_access_grant() so it
is possible (especially when testing SMP) that the thread tries to take
the semaphore before the originating thread has had the chance to
grant it permission.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2021-03-08 14:22:29 -05:00
..
main.c test: dynamic_thread: Fix race condition 2021-03-08 14:22:29 -05:00