When doing test_thread_join with OTHER_ABORT_TIMEOUT, the interval between two k_uptime_get() includes the two k_thread_create() which means the interval delta does not exactly count the time spent in k_thread_join(). On x86_64 with userspace, time spent inside k_thread_create() scales with memory size as it needs to create a new page table for the thread. So to actually measure the time spent in k_thread_join(), the locations where uptime is obtained need to be moved. Fixes #28549 Signed-off-by: Daniel Leung <daniel.leung@intel.com> |
||
|---|---|---|
| .. | ||
| dynamic_thread | ||
| no-multithreading | ||
| thread_apis | ||
| thread_init | ||
| thread_stack | ||