Home
last modified time | relevance | path

Searched refs:alt_thread (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/tests/kernel/fatal/exception/src/
Dmain.c48 static struct k_thread alt_thread; variable
63 if (k_current_get() != &alt_thread) { in k_sys_fatal_error_handler()
286 k_thread_create(&alt_thread, overflow_stack, OVERFLOW_STACKSIZE, in check_stack_overflow()
288 k_thread_create(&alt_thread, alt_stack, in check_stack_overflow()
321 k_thread_create(&alt_thread, alt_stack, in ZTEST()
329 k_thread_create(&alt_thread, alt_stack, in ZTEST()
344 k_thread_create(&alt_thread, alt_stack, in ZTEST()
349 k_thread_abort(&alt_thread); in ZTEST()
353 k_thread_create(&alt_thread, alt_stack, in ZTEST()
358 k_thread_abort(&alt_thread); in ZTEST()
[all …]
/Zephyr-latest/tests/benchmarks/latency_measure/src/
Dthread.c51 k_thread_suspend(&alt_thread); in alt_thread_entry()
59 priority = k_thread_priority_get(&alt_thread); in alt_thread_entry()
60 k_thread_priority_set(&alt_thread, priority + 2); in alt_thread_entry()
86 k_thread_create(&alt_thread, alt_stack, in start_thread_entry()
106 k_thread_access_grant(&alt_thread, &pause_sem); in start_thread_entry()
121 k_thread_start(&alt_thread); in start_thread_entry()
141 k_thread_resume(&alt_thread); in start_thread_entry()
151 k_thread_abort(&alt_thread); in start_thread_entry()
207 k_thread_access_grant(&start_thread, &alt_thread, &alt_stack, in thread_ops()
222 k_thread_create(&alt_thread, alt_stack, in thread_ops()
[all …]
Dcondvar.c31 k_thread_start(&alt_thread); in start_thread_entry()
49 k_thread_join(&alt_thread, K_FOREVER); in start_thread_entry()
90 k_thread_create(&alt_thread, alt_stack, in condvar_blocking_ops()
97 k_thread_access_grant(&start_thread, &alt_thread, in condvar_blocking_ops()
99 k_thread_access_grant(&alt_thread, &condvar); in condvar_blocking_ops()
Dthread_switch_yield.c62 k_thread_start(&alt_thread); in start_thread_entry()
85 k_thread_join(&alt_thread, K_FOREVER); in start_thread_entry()
110 k_thread_create(&alt_thread, alt_stack, in thread_switch_yield_common()
119 k_thread_access_grant(&start_thread, &alt_thread); in thread_switch_yield_common()
Dint_to_thread.c86 k_thread_start(&alt_thread); in start_thread_entry()
141 k_thread_create(&alt_thread, alt_stack, in int_to_another_thread()
149 k_thread_access_grant(&start_thread, &isr_sem, &alt_thread); in int_to_another_thread()
155 k_thread_join(&alt_thread, K_FOREVER); in int_to_another_thread()
Dsema_test_signal_release.c63 k_thread_start(&alt_thread); in start_thread_entry()
94 k_thread_join(&alt_thread, K_FOREVER); in start_thread_entry()
123 k_thread_create(&alt_thread, alt_stack, in sema_context_switch()
129 k_thread_access_grant(&start_thread, &sem, &alt_thread); in sema_context_switch()
131 k_thread_access_grant(&alt_thread, &sem); in sema_context_switch()
Dstack.c151 k_thread_start(&alt_thread); in start_thread_entry()
162 k_thread_join(&alt_thread, K_FOREVER); in start_thread_entry()
184 k_thread_create(&alt_thread, alt_stack, in stack_blocking_ops()
191 k_thread_access_grant(&start_thread, &alt_thread, &pause_sem, &stack); in stack_blocking_ops()
192 k_thread_access_grant(&alt_thread, &pause_sem, &stack); in stack_blocking_ops()
Devents.c97 k_thread_start(&alt_thread); in start_thread_entry()
115 k_thread_join(&alt_thread, K_FOREVER); in start_thread_entry()
269 k_thread_create(&alt_thread, alt_stack, in event_blocking_ops()
276 k_thread_access_grant(&start_thread, &alt_thread, &event_set, in event_blocking_ops()
278 k_thread_access_grant(&alt_thread, &event_set, &pause_sem); in event_blocking_ops()
Dfifo.c238 k_thread_start(&alt_thread); in start_thread_entry()
262 k_thread_join(&alt_thread, K_FOREVER); in start_thread_entry()
284 k_thread_create(&alt_thread, alt_stack, in fifo_blocking_ops()
291 k_thread_access_grant(&start_thread, &alt_thread, &pause_sem, &fifo); in fifo_blocking_ops()
292 k_thread_access_grant(&alt_thread, &pause_sem, &fifo); in fifo_blocking_ops()
Dlifo.c238 k_thread_start(&alt_thread); in start_thread_entry()
262 k_thread_join(&alt_thread, K_FOREVER); in start_thread_entry()
284 k_thread_create(&alt_thread, alt_stack, in lifo_blocking_ops()
291 k_thread_access_grant(&start_thread, &alt_thread, &pause_sem, &lifo); in lifo_blocking_ops()
292 k_thread_access_grant(&alt_thread, &pause_sem, &lifo); in lifo_blocking_ops()
Dutils.h38 extern struct k_thread alt_thread;
Dmain.c43 struct k_thread alt_thread; variable
/Zephyr-latest/tests/kernel/ipi_optimize/src/
Dmain.c21 static struct k_thread alt_thread; variable
111 k_thread_create(&alt_thread, alt_stack, STACK_SIZE, in alt_thread_create()
119 zassert_true(z_is_thread_pending(&alt_thread), in alt_thread_create()
281 zassert_true(z_is_thread_ready(&alt_thread), in ZTEST()
330 zassert_true(z_is_thread_ready(&alt_thread), in ZTEST()
428 zassert_true(z_is_thread_ready(&alt_thread), in ZTEST()
468 k_thread_abort(&alt_thread); in cleanup_threads()
/Zephyr-latest/tests/arch/arm/arm_thread_swap/src/
Darm_thread_arch.c42 static struct k_thread alt_thread; variable
537 k_thread_create(&alt_thread, in ZTEST()