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
context tests: kernel: context: Convert to new dts macros 2020-04-30 17:39:27 -04:00
device
early_sleep
fatal kconfig: Rename CONFIG_FLOAT to CONFIG_FPU 2020-04-27 19:03:44 +02:00
fifo
fp_sharing kconfig: Rename CONFIG_FLOAT to CONFIG_FPU 2020-04-27 19:03:44 +02:00
gen_isr_table
interrupt Revert "tests: no need long busy_wait to waste cycles" 2020-04-28 20:34:57 -04:00
lifo
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
mem_protect
mem_slab
mp
msgq/msgq_api tests/kernel: Fill allocation robustly for mpool heap backend 2020-04-14 10:05:55 -07:00
mutex
obj_tracing
pending
pipe kernel: pipe: fix !K_NO_WAIT and >= min_xfer bytes transferred 2020-04-28 16:14:55 +02:00
poll
profiling/profiling_api
queue tests/kernel: Fill allocation robustly for mpool heap backend 2020-04-14 10:05:55 -07:00
sched
semaphore/semaphore
sleep
smp
spinlock
stack/stack
threads kernel: fix issue with k_thread_join() timeouts 2020-05-05 11:43:08 -07:00
tickless
timer tests/kernel/timer/timer_api: Fix static double-conversion goof 2020-04-22 17:35:10 +02:00
workq
xip