1554926c4a
- No longer call ztest_test_pass() out of a fatal exception, as if this took place on some child thread, the next test case could start on another CPU before the child has exited, leading to issues if the child thread object is recycled - Get rid of some unnecessary synchronization semaphores. Use the scheduler and/or k_thread_join() instead. - Simplify tests for read/write other threads not to spawn a child thread and then take a fatal fault on the ztest thread - Add set_fault() clear_fault() as I do not enjoy typing. Despite these variables being voliatile, a barrier is needed to prevent re-ordering around non-volatile memory access - Don't call ztest_test_pass() from child thread in test_user_mode_enter() due to possible races Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
prj.conf | ||
testcase.yaml |