Home
last modified time | relevance | path

Searched refs:tinfo (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/kernel/smp/src/
Dmain.c51 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()
[all …]
/Zephyr-latest/tests/lib/lockfree/src/
Dtest_spsc.c201 static struct thread_info tinfo[THREADS_NUM]; variable
214 tinfo[0].tid = in ZTEST()
220 tinfo[1].tid = in ZTEST()
227 k_thread_join(tinfo[1].tid, K_FOREVER); in ZTEST()
228 k_thread_join(tinfo[0].tid, K_FOREVER); in ZTEST()