Lines Matching refs:thr
15 static thrd_t thr; variable
68 zassert_equal(thrd_error, thrd_create(&thr, NULL, NULL)); in ZTEST()
69 zassert_equal(thrd_error, thrd_create(&thr, NULL, ¶m)); in ZTEST()
72 zassert_equal(thrd_success, thrd_create(&thr, fun, NULL)); in ZTEST()
73 zassert_equal(thrd_success, thrd_join(thr, NULL)); in ZTEST()
75 zassert_equal(thrd_success, thrd_create(&thr, fun, ¶m)); in ZTEST()
76 zassert_equal(thrd_success, thrd_join(thr, &res)); in ZTEST()
100 zassert_equal(thrd_success, thrd_create(&thr, thrd_exit_fn, ¶m)); in ZTEST()
101 zassert_equal(thrd_success, thrd_join(thr, &res)); in ZTEST()
147 zassert_equal(thrd_success, thrd_create(&thr, thrd_detach_fn, NULL)); in ZTEST()
148 zassert_equal(thrd_success, thrd_detach(thr)); in ZTEST()
149 zassert_equal(thrd_error, thrd_join(thr, NULL)); in ZTEST()
155 zassert_equal(thrd_error, thrd_join(thr, NULL)); in ZTEST()
161 zassert_equal(thrd_success, thrd_create(&thr, thrd_create_join_fn, NULL)); in ZTEST()
162 zassert_equal(thrd_success, thrd_join(thr, NULL)); in ZTEST()