Lines Matching refs:tinfo
51 static ZTEST_BMEM volatile struct thread_info tinfo[MAX_NUM_THREADS]; variable
208 tinfo[thread_num].executed = 1; in thread_entry_fn()
209 tinfo[thread_num].cpu_id = curr_cpu(); in thread_entry_fn()
221 volatile uint8_t *p = &tinfo[i].tid->base.thread_state; in spin_for_threads_exit()
239 tinfo[i].priority = prio; in spawn_threads()
242 tinfo[i].priority = prio - 1; in spawn_threads()
243 prio = tinfo[i].priority; in spawn_threads()
245 tinfo[i].tid = k_thread_create(&tthread[i], tstack[i], in spawn_threads()
248 tinfo[i].priority, 0, 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()
274 tinfo[i].executed = 0; in cleanup_resources()
275 tinfo[i].priority = 0; in cleanup_resources()
389 zassert_true(tinfo[i].executed == 1, in ZTEST()
392 zassert_true(tinfo[num_threads - 1].executed == 0, in ZTEST()
423 zassert_true(tinfo[i].executed == 1, in ZTEST()
457 zassert_true(tinfo[i].executed == 1, in ZTEST()
485 zassert_true(tinfo[i].executed == 1, in ZTEST()
503 tinfo[thread_num].executed = 1; in thread_wakeup_entry()
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()
540 if (tinfo[i].executed == 1 && threads_woke_up <= tnum) { in check_wokeup_threads()
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()
1052 k_thread_join(tinfo[0].tid, K_FOREVER); in run_concurrency()
1053 k_thread_join(tinfo[1].tid, K_FOREVER); in run_concurrency()