zephyr/tests
Andy Ross 09fdd814df tests/kernel/smp: Give time for a wakeup to take effect
For obvious performance reasons, scheduler state changes (other than
aborting a thread) do not cause synchronous interrupts on the other
CPU.  Doing a k_thread_wakeup() means that the current CPU will run it
synchronously if it's high priority, but if you want to see it run on
the other cores you need to wait for them to reach a scheduling point
on their own.

The test was written to assume that k_thread_wakeup() is synchronous,
but that's not right, and it needs to spin a bit.  This bug was always
present in the test, but masked by a bug in the way that k_sleep() was
handled on SMP.  See #9506.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-03-23 19:28:15 -04:00
..
application_development cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
benchmarks all: Update reserved function names 2019-03-11 13:48:42 -04:00
bluetooth Bluetooth: tester: Fix possible NULL pointer dereference 2019-03-19 06:55:16 +02:00
boards tests/boards/intel_s1000_crb: fix potential uninit variables 2019-02-26 01:44:42 +01:00
booting/stub cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
cmsis_rtos_v1 tests: Mass SMP disablement on non-SMP-safe tests 2019-02-28 13:02:20 -06:00
cmsis_rtos_v2 all: Update reserved function names 2019-03-11 13:48:42 -04:00
compliance
crypto mbedtls: provide user mode access 2019-03-05 08:27:20 -05:00
drivers drivers: sensor: Refactor apds9960 to use const config struct 2019-03-15 10:30:53 -05:00
kernel tests/kernel/smp: Give time for a wakeup to take effect 2019-03-23 19:28:15 -04:00
lib all: Update reserved function names 2019-03-11 13:48:42 -04:00
misc tests: util: Add UTIL_LISTIFY tests 2019-02-11 09:28:14 -05:00
net net: Switch usage of net_pkt_get_reserve to net_pkt_alloc 2019-03-20 10:27:14 -05:00
posix posix/pthreads: fix pthread_barrier_wait() behavior to match Posix 2019-03-02 03:40:06 +01:00
shell shell: Deprecate macros for subcommands creation 2019-02-20 07:31:35 -05:00
subsys boards: arm: nrf52840-based: Free up flash room for sample apps 2019-03-15 08:52:06 -05:00
unit tests: move testsuite and configs into subsys/ 2019-02-22 08:58:40 -05:00
ztest tests: move testsuite and configs into subsys/ 2019-02-22 08:58:40 -05:00