Lines Matching refs:thrd_success
69 int res = thrd_success; in test_cnd_thread_fn()
83 zassert_equal(thrd_success, cnd_signal(&fixture->cond)); in test_cnd_thread_fn()
94 zassert_equal(thrd_success, mtx_lock(&fixture->mutex)); in tst_cnd_common()
96 zassert_equal(thrd_success, thrd_create(&fixture->thrd1, test_cnd_thread_fn, fixture)); in tst_cnd_common()
98 zassert_equal(thrd_success, in tst_cnd_common()
105 zassert_equal(thrd_success, cnd_broadcast(&fixture->cond)); in tst_cnd_common()
107 zassert_equal(thrd_success, cnd_signal(&fixture->cond)); in tst_cnd_common()
110 zassert_equal(thrd_success, mtx_unlock(&fixture->mutex)); in tst_cnd_common()
112 zassert_equal(thrd_success, thrd_join(fixture->thrd1, &fixture->res1)); in tst_cnd_common()
114 zassert_equal(thrd_success, thrd_join(fixture->thrd2, &fixture->res2)); in tst_cnd_common()
125 tst_cnd_common(fixture, WAIT_TIME_MS / 2, false, thrd_success, DONT_CARE); in ZTEST_F()
131 tst_cnd_common(fixture, WAIT_TIME_MS / 2, false, thrd_success, DONT_CARE); in ZTEST_F()
143 tst_cnd_common(fixture, WAIT_TIME_MS, true, thrd_success, thrd_success); in ZTEST_F()
160 zassert_equal(thrd_success, mtx_init(&fixture->mutex, mtx_plain)); in before()
161 zassert_equal(thrd_success, cnd_init(&fixture->cond)); in before()