Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/smp/src/
Dmain.c506 static void wakeup_on_start_thread(int tnum) in wakeup_on_start_thread() argument
513 for (i = 0; i < tnum; i++) { in wakeup_on_start_thread()
520 for (i = 0; i < tnum; i++) { in wakeup_on_start_thread()
521 if (thread_started[i] == 1 && threads_started <= tnum) { in wakeup_on_start_thread()
526 zassert_equal(threads_started, tnum, in wakeup_on_start_thread()
530 static void check_wokeup_threads(int tnum) in check_wokeup_threads() argument
539 for (i = 0; i < tnum; i++) { in check_wokeup_threads()
540 if (tinfo[i].executed == 1 && threads_woke_up <= tnum) { in check_wokeup_threads()
544 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()