Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/smp/src/
Dmain.c505 static void wakeup_on_start_thread(int tnum) in wakeup_on_start_thread() argument
512 for (i = 0; i < tnum; i++) { in wakeup_on_start_thread()
519 for (i = 0; i < tnum; i++) { in wakeup_on_start_thread()
520 if (thread_started[i] == 1 && threads_started <= tnum) { in wakeup_on_start_thread()
525 zassert_equal(threads_started, tnum, in wakeup_on_start_thread()
529 static void check_wokeup_threads(int tnum) in check_wokeup_threads() argument
538 for (i = 0; i < tnum; i++) { in check_wokeup_threads()
539 if (tinfo[i].executed == 1 && threads_woke_up <= tnum) { in check_wokeup_threads()
543 zassert_equal(threads_woke_up, tnum, "Threads did not wakeup"); in check_wokeup_threads()
/Zephyr-latest/tests/kernel/sched/schedule_api/src/
Dtest_sched_timeslice_and_lock.c31 int tnum = POINTER_TO_INT(p1); in thread_entry() local
33 tdata[tnum].executed = 1; in thread_entry()