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> |
||
|---|---|---|
| .. | ||
| dynamic_thread | ||
| no-multithreading | ||
| thread_apis | ||
| thread_init | ||