Lines Matching refs:th
42 struct k_thread *th; in ZTEST_USER() local
60 th = k_object_alloc(K_OBJ_THREAD); in ZTEST_USER()
61 zassert_not_null(th); in ZTEST_USER()
63 tid = k_thread_create(th, stack, CONFIG_DYNAMIC_THREAD_STACK_SIZE, func, in ZTEST_USER()
78 static struct k_thread th[CONFIG_DYNAMIC_THREAD_POOL_SIZE]; in ZTEST() local
107 tid[i] = k_thread_create(&th[i], stack[i], in ZTEST()
130 static struct k_thread th[MAX_HEAP_STACKS]; in ZTEST() local
153 tid[i] = k_thread_create(&th[i], stack[i], in ZTEST()
217 static struct k_thread th[2]; in ZTEST() local
241 tid[0] = k_thread_create(&th[0], stack[0], CONFIG_DYNAMIC_THREAD_STACK_SIZE, perm_func, in ZTEST()
246 tid[1] = k_thread_create(&th[1], stack[1], CONFIG_DYNAMIC_THREAD_STACK_SIZE, in ZTEST()