Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/tests/kernel/threads/dynamic_thread/src/
Dmain.c16 static ZTEST_BMEM struct k_thread *dyn_thread; variable
24 if (k_current_get() != dyn_thread) { in k_sys_fatal_error_handler()
47 dyn_thread = k_object_alloc(K_OBJ_THREAD); in create_dynamic_thread()
49 zassert_not_null(dyn_thread, "Cannot allocate thread k_object!"); in create_dynamic_thread()
51 tid = k_thread_create(dyn_thread, dyn_thread_stack, STACKSIZE, in create_dynamic_thread()
67 k_object_release(dyn_thread); in create_dynamic_thread()
72 struct k_thread *dyn_thread; in permission_test() local
75 dyn_thread = k_object_alloc(K_OBJ_THREAD); in permission_test()
77 zassert_not_null(dyn_thread, "Cannot allocate thread k_object!"); in permission_test()
79 tid = k_thread_create(dyn_thread, dyn_thread_stack, STACKSIZE, in permission_test()
[all …]