Home
last modified time | relevance | path

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

/tests/kernel/smp_boot_delay/src/
A Dmain.c36 k_tid_t thr; in ZTEST() local
42 thr = k_thread_create(&cpu_thr, thr_stack, K_THREAD_STACK_SIZEOF(thr_stack), in ZTEST()
45 (void)k_thread_cpu_pin(thr, 1); in ZTEST()
46 k_thread_start(thr); in ZTEST()
68 thr = k_thread_create(&cpu_thr, thr_stack, K_THREAD_STACK_SIZEOF(thr_stack), in ZTEST()
71 (void)k_thread_cpu_pin(thr, 1); in ZTEST()
72 k_thread_start(thr); in ZTEST()
93 k_tid_t thr; in ZTEST() local
108 thr = k_thread_create(&cpu_thr, thr_stack, K_THREAD_STACK_SIZEOF(thr_stack), in ZTEST()
111 (void)k_thread_cpu_pin(thr, 2); in ZTEST()
[all …]
/tests/lib/c_lib/thrd/src/
A Dthrd.c16 static thrd_t thr; variable
73 zassert_equal(thrd_error, thrd_create(&thr, NULL, NULL)); in ZTEST()
74 zassert_equal(thrd_error, thrd_create(&thr, NULL, &param)); in ZTEST()
77 zassert_equal(thrd_success, thrd_create(&thr, fun, NULL)); in ZTEST()
78 zassert_equal(thrd_success, thrd_join(thr, NULL)); in ZTEST()
81 zassert_equal(thrd_success, thrd_join(thr, &res)); in ZTEST()
106 zassert_equal(thrd_success, thrd_join(thr, &res)); in ZTEST()
153 zassert_equal(thrd_success, thrd_detach(thr)); in ZTEST()
154 zassert_equal(thrd_error, thrd_join(thr, NULL)); in ZTEST()
160 zassert_equal(thrd_error, thrd_join(thr, NULL)); in ZTEST()
[all …]

Completed in 21 milliseconds