zephyr/tests/kernel/smp
Andy Ross 4b670bd4f5 tests/kernel/smp: current CPU is not atomic
This test was whiteboxing the _current_cpu pointer to extract the CPU
ID.  That's actually racy: the thread can be preempted and migrated to
another CPU between the _current_cpu expression and the read of the ID
field.  Do it right.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2020-02-08 08:51:04 -05:00
..
src tests/kernel/smp: current CPU is not atomic 2020-02-08 08:51:04 -05:00
CMakeLists.txt headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
prj.conf
testcase.yaml tests: new updated names for the kernel tests 2019-10-24 06:25:53 -04:00