zephyr/tests/kernel
Andrew Boie f1b5d9db8e kernel: fix issue with k_thread_join() timeouts
If k_thread_join() was passed with an actual timeout value,
and not K_FOREVER, the blocking thread was not being properly
woken up when the target thread exits. The timeout itself
was never aborted, causing the joining thread to remain
un-scheduled until the timeout expires.

Amend the k_thread_join() test cases to check that the join
completed before the provided timeout period expired.

Fixes: #24744

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-05-05 11:43:08 -07:00
..
common timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
context tests: kernel: context: Convert to new dts macros 2020-04-30 17:39:27 -04:00
device cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
early_sleep timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
fatal kconfig: Rename CONFIG_FLOAT to CONFIG_FPU 2020-04-27 19:03:44 +02:00
fifo timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
fp_sharing kconfig: Rename CONFIG_FLOAT to CONFIG_FPU 2020-04-27 19:03:44 +02:00
gen_isr_table cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
interrupt Revert "tests: no need long busy_wait to waste cycles" 2020-04-28 20:34:57 -04:00
lifo kernel/timeout: Enable 64 bit timeout precision 2020-03-31 19:40:47 -04:00
mbox tests/kernel: Fill allocation robustly for mpool heap backend 2020-04-14 10:05:55 -07:00
mem_heap/mheap_api_concept tests/kernel: Fill allocation robustly for mpool heap backend 2020-04-14 10:05:55 -07:00
mem_pool tests/kernel/mem_pool: Split out tests for legacy mem_pool config 2020-04-14 10:05:55 -07:00
mem_protect kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
mem_slab timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
mp cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
msgq/msgq_api tests/kernel: Fill allocation robustly for mpool heap backend 2020-04-14 10:05:55 -07:00
mutex timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
obj_tracing timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
pending kernel: remove unused offload workqueue option 2020-04-12 18:42:27 -04:00
pipe kernel: pipe: fix !K_NO_WAIT and >= min_xfer bytes transferred 2020-04-28 16:14:55 +02:00
poll boards: nrf52810_pca10040: Rename to nrf52dk_nrf52810 2020-04-06 13:09:07 +02:00
profiling/profiling_api timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
queue tests/kernel: Fill allocation robustly for mpool heap backend 2020-04-14 10:05:55 -07:00
sched boards: nrf52810_pca10040: Rename to nrf52dk_nrf52810 2020-04-06 13:09:07 +02:00
semaphore/semaphore timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
sleep kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
smp timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
spinlock cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
stack/stack timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
threads kernel: fix issue with k_thread_join() timeouts 2020-05-05 11:43:08 -07:00
tickless timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
timer tests/kernel/timer/timer_api: Fix static double-conversion goof 2020-04-22 17:35:10 +02:00
workq tests: critical: change doxygen group 2020-04-12 18:42:27 -04:00
xip cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00