mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 15:22:26 +00:00
This case was predicated on a mistake. The behavior of k_wakeup() has always been NOT to wake up threads that are "pending" on a wait queue, only ones blocked on a timeout in k_sleep(). As written, this test case could never pass. (Really there's no good reason for that. It seems reasonable to me to expect wakeup to work symmetrically, and the docs are sort of ambiguous on the subject. But the code in k_wakeup() is clear: threads flagged pending get an early exit and the call becomes a noop.) Signed-off-by: Andy Ross <andrew.j.ross@intel.com> |
||
---|---|---|
.. | ||
application_development | ||
benchmarks | ||
bluetooth | ||
boards | ||
booting/stub | ||
cmsis_rtos_v1 | ||
cmsis_rtos_v2 | ||
compliance | ||
crypto | ||
drivers | ||
kernel | ||
lib | ||
misc | ||
net | ||
posix | ||
shell | ||
subsys | ||
unit | ||
ztest |