Lines Matching refs:tid
81 for (size_t tid = 0; tid < nb_threads; tid++) { in exec_test() local
82 app_threads[tid].partition = app_partitions[tid]; in exec_test()
83 app_threads[tid].stack = &app_thread_stacks[tid]; in exec_test()
85 void *_tid = (void *)(uintptr_t)tid; in exec_test()
87 threads[tid] = k_thread_create(&app_threads[tid].thread, in exec_test()
88 app_thread_stacks[tid], in exec_test()
90 &app_threads[tid], _tid, (void *)(uintptr_t)nb_threads, in exec_test()
101 for (size_t tid = 0; tid < nb_threads; tid++) { in exec_test() local
102 k_thread_start(threads[tid]); in exec_test()
104 for (size_t tid = 0; tid < nb_threads; tid++) { in exec_test() local
105 k_thread_join(threads[tid], K_FOREVER); in exec_test()