Skip to content
Commit 5397353d authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

tests: mem_protect: fix SMP race



We try to invoke `ztest_test_pass()` from inside
a fatal exception in a child thread.

On SMP this can result in the next test case starting
on another CPU, re-using the child thread before it
has a chance to exit.

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