Lines Matching refs:tid
46 k_tid_t tid; member
132 k_tid_t tid = k_thread_create(&t2, t2_stack, T2_STACK_SIZE, t2_fn, in ZTEST() local
156 k_thread_abort(tid); in ZTEST()
157 k_thread_join(tid, K_FOREVER); in ZTEST()
189 k_tid_t tid = k_thread_create(&t2, t2_stack, T2_STACK_SIZE, child_fn, in ZTEST() local
197 k_thread_abort(tid); in ZTEST()
198 k_thread_join(tid, K_FOREVER); in ZTEST()
221 volatile uint8_t *p = &tinfo[i].tid->base.thread_state; in spin_for_threads_exit()
245 tinfo[i].tid = k_thread_create(&tthread[i], tstack[i], in spawn_threads()
260 k_thread_abort(tinfo[i].tid); in abort_threads()
264 k_thread_join(tinfo[i].tid, K_FOREVER); in abort_threads()
273 tinfo[i].tid = 0; in cleanup_resources()
317 k_tid_t tid[MAX_NUM_THREADS]; in ZTEST() local
328 tid[i] = k_thread_create(&tthread[i], tstack[i], in ZTEST()
349 k_thread_abort(tid[i]); in ZTEST()
354 zassert_equal(k_thread_join(tid[i], K_FOREVER), 0); in ZTEST()
516 while (!z_is_thread_prevented_from_running(tinfo[i].tid)) { in wakeup_on_start_thread()
523 k_wakeup(tinfo[i].tid); in wakeup_on_start_thread()
907 tinfo[0].tid = in ZTEST()
914 tinfo[1].tid = in ZTEST()
926 k_thread_join(tinfo[1].tid, K_FOREVER); in ZTEST()
927 k_thread_join(tinfo[0].tid, K_FOREVER); in ZTEST()
1031 tinfo[0].tid = in run_concurrency()
1038 tinfo[1].tid = in run_concurrency()
1045 k_tid_t tid = in run_concurrency() local
1052 k_thread_join(tinfo[0].tid, K_FOREVER); in run_concurrency()
1053 k_thread_join(tinfo[1].tid, K_FOREVER); in run_concurrency()
1054 k_thread_join(tid, K_FOREVER); in run_concurrency()