Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/ipi_cascade/src/
Dmain.c61 static struct k_thread thread2; variable
98 k_thread_abort(&thread2); in timer_expiry_fn()
215 k_thread_create(&thread2, stack2, K_THREAD_STACK_SIZEOF(stack2), in ZTEST()
218 k_thread_name_set(&thread2, "T2"); in ZTEST()
259 k_thread_abort(&thread2); in ZTEST()
/Zephyr-latest/tests/lib/c_lib/thrd/src/
Dtss.c20 static thrd_t thread2; variable
74 zassert_equal(thrd_success, thrd_create(&thread2, thread_fn, (void *)&seventy_three)); in ZTEST()
77 zassert_equal(thrd_success, thrd_join(thread2, &res2)); in ZTEST()
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v1/src/
Dthread_apis.c42 void thread2(void const *argument) in thread2() function
97 osThreadDef(thread2, osPriorityHigh, 1, STACKSZ);
139 id2 = osThreadCreate(osThread(thread2), NULL); in ZTEST()
/Zephyr-latest/tests/posix/semaphores/src/
Dmain.c26 pthread_t thread1, thread2; in semaphore_test() local
82 zassert_equal(pthread_create(&thread2, NULL, child_func, sem), 0, "Thread creation failed"); in semaphore_test()
89 zassert_ok(pthread_join(thread2, NULL)); in semaphore_test()
147 pthread_t thread1, thread2; in ZTEST() local
288 zassert_ok(pthread_create(&thread2, NULL, nsem_close_func, different_sem1)); in ZTEST()
292 zassert_ok(pthread_join(thread2, NULL)); in ZTEST()
/Zephyr-latest/tests/kernel/obj_core/obj_core/src/
Dmain.c56 static struct k_thread thread2; variable
129 k_thread_create(&thread2, thread2_stack, in ZTEST()
134 K_OBJ_CORE(thread1), K_OBJ_CORE(&thread2)); in ZTEST()
139 k_thread_abort(&thread2); in ZTEST()
165 walk_data.obj_core = K_OBJ_CORE(&thread2); in ZTEST()
/Zephyr-latest/tests/kernel/workq/critical/src/
Dmain.c54 static struct k_thread thread2; variable
201 k_thread_create(&thread2, stack2, STACK_SIZE, in ZTEST()
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/
Dthread_flags.c49 static void thread2(void *arg) in thread2() function
109 id = osThreadNew(thread2, osThreadGetId(), &thread2_attr); in ZTEST()
Devent_flags.c30 static void thread2(void *arg) in thread2() function
131 id2 = osThreadNew(thread2, evt_id, &thread2_attr); in test_event_flags_signalled()
Dthread_apis.c67 static void thread2(void *argument) in thread2() function
127 id2 = osThreadNew(thread2, yield_check, thread2_attr); in thread_apis_common()
/Zephyr-latest/tests/arch/riscv/fpu_sharing/src/
Dmain.c104 static struct k_thread thread2; variable
244 k_thread_create(&thread2, thread2_stack, STACK_SIZE, in ZTEST()
248 zassert_true(k_thread_join(&thread2, K_FOREVER) == 0); in ZTEST()