Searched refs:thread1 (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/tests/lib/c_lib/thrd/src/ |
D | tss.c | 19 static thrd_t thread1; variable 73 zassert_equal(thrd_success, thrd_create(&thread1, thread_fn, (void *)&forty_two)); in ZTEST() 76 zassert_equal(thrd_success, thrd_join(thread1, &res1)); in ZTEST()
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v1/src/ |
D | thread_apis.c | 21 void thread1(void const *argument) in thread1() function 96 osThreadDef(thread1, osPriorityHigh, 1, STACKSZ); 136 id1 = osThreadCreate(osThread(thread1), NULL); in ZTEST()
|
/Zephyr-latest/tests/posix/semaphores/src/ |
D | main.c | 26 pthread_t thread1, thread2; in semaphore_test() local 49 ret = pthread_create(&thread1, NULL, child_func, sem); in semaphore_test() 88 zassert_ok(pthread_join(thread1, NULL)); in semaphore_test() 147 pthread_t thread1, thread2; in ZTEST() local 287 zassert_ok(pthread_create(&thread1, NULL, nsem_open_func, "sem1")); in ZTEST() 291 zassert_ok(pthread_join(thread1, NULL)); in ZTEST()
|
/Zephyr-latest/tests/kernel/obj_core/obj_core/src/ |
D | main.c | 53 K_THREAD_DEFINE(thread1, 512 + CONFIG_TEST_EXTRA_STACK_SIZE, 134 K_OBJ_CORE(thread1), K_OBJ_CORE(&thread2)); in ZTEST() 138 k_thread_abort(thread1); in ZTEST() 156 walk_data.obj_core = K_OBJ_CORE(thread1); in ZTEST()
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | event_flags.c | 24 static void thread1(void *arg) in thread1() function 86 id1 = osThreadNew(thread1, evt_id, &thread1_attr); in test_event_flags_no_wait_timeout() 122 id1 = osThreadNew(thread1, evt_id, &thread1_attr); in test_event_flags_signalled()
|
D | thread_flags.c | 21 static void thread1(void *arg) in thread1() function 90 id1 = osThreadNew(thread1, NULL, &thread1_attr); in ZTEST()
|
D | thread_apis.c | 39 static void thread1(void *argument) in thread1() function 118 id1 = osThreadNew(thread1, &args, thread1_attr); in thread_apis_common()
|
/Zephyr-latest/tests/kernel/workq/critical/src/ |
D | main.c | 53 static struct k_thread thread1; variable 197 k_thread_create(&thread1, stack1, STACK_SIZE, in ZTEST()
|
/Zephyr-latest/tests/arch/riscv/fpu_sharing/src/ |
D | main.c | 103 static struct k_thread thread1; variable 241 k_thread_create(&thread1, thread1_stack, STACK_SIZE, in ZTEST() 247 zassert_true(k_thread_join(&thread1, K_FOREVER) == 0); in ZTEST()
|