Home
last modified time | relevance | path

Searched refs:z_main_thread (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/portability/cmsis_rtos_v1/
Dcmsis_kernel.c44 return !z_is_thread_suspended(&z_main_thread); in osKernelRunning()
/Zephyr-latest/kernel/
Dinit.c54 struct k_thread z_main_thread; variable
568 z_thread_essential_clear(&z_main_thread); in bg_thread_main()
670 _kernel.ready_q.cache = &z_main_thread; in prepare_multithreading()
672 stack_ptr = z_setup_new_thread(&z_main_thread, z_main_stack, in prepare_multithreading()
678 z_mark_thread_as_not_sleeping(&z_main_thread); in prepare_multithreading()
679 z_ready_thread(&z_main_thread); in prepare_multithreading()
690 arch_switch_to_main_thread(&z_main_thread, stack_ptr, bg_thread_main); in switch_to_main_thread()
/Zephyr-latest/tests/kernel/mem_protect/obj_validation/src/
Dmain.c103 k_object_access_grant(dyn_sem[i], &z_main_thread); in ZTEST()
/Zephyr-latest/kernel/include/
Dkernel_internal.h147 extern struct k_thread z_main_thread;
/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/
Dmem_domain.c289 zassert_true(z_main_thread.mem_domain_info.mem_domain == in ZTEST()
291 z_main_thread.mem_domain_info.mem_domain); in ZTEST()
/Zephyr-latest/tests/kernel/threads/thread_apis/src/
Dmain.c167 ret = k_thread_name_set(&z_main_thread, "some name"); in ZTEST_USER()
189 ret = k_thread_name_copy(&z_main_thread, thread_name, in ZTEST_USER()
/Zephyr-latest/doc/develop/optimizations/
Dtools.rst76 │ └── z_main_thread 128 2.76% 0x200001a0