Lines Matching refs:worker_threads

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()
287 k_thread_deadline_set(&worker_threads[0], MSEC_TO_CYCLES(500)); in ZTEST()
288 k_thread_deadline_set(&worker_threads[1], MSEC_TO_CYCLES(10)); in ZTEST()
290 expected_thread = &worker_threads[1]; in ZTEST()
292 k_thread_join(&worker_threads[1], K_FOREVER); in ZTEST()
293 k_thread_join(&worker_threads[0], K_FOREVER); in ZTEST()
300 k_thread_create(&worker_threads[0], worker_stacks[0], STACK_SIZE, in ZTEST()
306 k_thread_create(&worker_threads[1], worker_stacks[1], STACK_SIZE, in ZTEST()
312 k_thread_deadline_set(&worker_threads[0], MSEC_TO_CYCLES(500)); in ZTEST()
313 k_thread_deadline_set(&worker_threads[1], MSEC_TO_CYCLES(10)); in ZTEST()
315 expected_thread = &worker_threads[1]; in ZTEST()
317 k_thread_join(&worker_threads[1], K_FOREVER); in ZTEST()
318 k_thread_join(&worker_threads[0], K_FOREVER); in ZTEST()