Skip to content
Commit f4a4583e authored by Andrew Boie's avatar Andrew Boie Committed by Andrew Boie
Browse files

tests: sys_sem: add k_thread_join() calls



There is a race condition between the child threads
exiting, and the child threads getting re-used in the
next scenario. This reproduces more often on SMP systems.

Close the race by joining on the child threads before
exiting any test scenario.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent edc5e31d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment