Searched refs:th_stack (Results 1 – 2 of 2) sorted by relevance
39 static K_THREAD_STACK_ARRAY_DEFINE(th_stack, 2, CONFIG_TEST_STACK_SIZE);100 k_thread_create(&th[i], th_stack[i], K_THREAD_STACK_SIZEOF(th_stack[0]), th_fun, in ZTEST_F()
133 struct k_stack *th_stack = k_object_alloc(K_OBJ_STACK); in ZTEST_USER() local135 zassert_not_null(th_stack, "couldn't allocate stack object"); in ZTEST_USER()136 zassert_false(k_stack_alloc_init(th_stack, STACK_LEN), in ZTEST_USER()139 tstack_thread_thread(th_stack); in ZTEST_USER()