Searched refs:tnum (Results 1 – 2 of 2) sorted by relevance
506 static void wakeup_on_start_thread(int tnum) in wakeup_on_start_thread() argument513 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() argument539 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()
31 int tnum = POINTER_TO_INT(p1); in thread_entry() local33 tdata[tnum].executed = 1; in thread_entry()