Searched refs:spawn_threads (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-2.7.6/tests/kernel/sched/schedule_api/src/ |
D | test_sched_timeslice_and_lock.c | 55 static void spawn_threads(int sleep_sec) in spawn_threads() function 106 spawn_threads(0); in test_yield_cooperative() 132 spawn_threads(0); in test_sleep_cooperative() 149 spawn_threads(0); in test_busy_wait_cooperative() 178 spawn_threads(10 * 1000); /* 10 second */ in test_sleep_wakeup_preemptible() 250 spawn_threads(0); in test_time_slicing_preemptible() 288 spawn_threads(0); in test_time_slicing_disable_preemptible() 320 spawn_threads(0); in test_lock_preemptible() 355 spawn_threads(0); in test_unlock_preemptible() 396 spawn_threads(0); in test_unlock_nested_sched_lock()
|
/Zephyr-Core-2.7.6/tests/kernel/smp/src/ |
D | main.c | 218 static void spawn_threads(int prio, int thread_num, int equal_prio, in spawn_threads() function 282 spawn_threads(K_PRIO_COOP(10), THREADS_NUM, !EQUAL_PRIORITY, in test_coop_resched_threads() 321 spawn_threads(K_PRIO_PREEMPT(10), THREADS_NUM, !EQUAL_PRIORITY, in test_preempt_resched_threads() 352 spawn_threads(K_PRIO_COOP(10), THREADS_NUM, !EQUAL_PRIORITY, in test_yield_threads() 379 spawn_threads(K_PRIO_COOP(10), THREADS_NUM, !EQUAL_PRIORITY, in test_sleep_threads() 460 spawn_threads(K_PRIO_COOP(10), THREADS_NUM - 1, !EQUAL_PRIORITY, in test_wakeup_threads()
|