Searched refs:worker_threads (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/kernel/sched/deadline/src/ |
D | main.c | 20 struct k_thread worker_threads[NUM_THREADS]; variable 67 worker_tids[i] = k_thread_create(&worker_threads[i], in ZTEST() 97 k_thread_deadline_set(&worker_threads[i], thread_deadlines[i]); in ZTEST() 155 k_thread_create(&worker_threads[i], in ZTEST() 196 worker_tids[i] = k_thread_create(&worker_threads[i], in ZTEST() 207 k_thread_deadline_set(&worker_threads[i], thread_deadlines[i]); in ZTEST() 237 expected_thread = &worker_threads[1]; in test_reschedule_helper0() 260 expected_thread = &worker_threads[0]; in test_reschedule_helper1() 275 k_thread_create(&worker_threads[0], worker_stacks[0], STACK_SIZE, in ZTEST() 281 k_thread_create(&worker_threads[1], worker_stacks[1], STACK_SIZE, in ZTEST() [all …]
|
/Zephyr-latest/tests/kernel/sched/preempt/src/ |
D | main.c | 59 struct k_thread worker_threads[NUM_THREADS]; variable 86 volatile k_tid_t src_thread = &worker_threads[id]; in wakeup_src_thread() 105 k_tid_t th = &worker_threads[i]; in wakeup_src_thread() 167 int preempted = &worker_threads[target] == last_thread; in validate_wakeup() 233 k_tid_t curr = &worker_threads[id], prev; in worker() 323 k_thread_create(&worker_threads[i], in ZTEST() 350 k_thread_abort(&worker_threads[i]); in ZTEST()
|