Searched refs:thrd_success (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/tests/lib/c_lib/thrd/src/ |
D | mtx.c | 27 zassert_not_equal(thrd_success, mtx_init(NULL, FORTY_TWO)); in ZTEST() 28 zassert_not_equal(thrd_success, mtx_init(&mutex, FORTY_TWO)); in ZTEST() 32 zassert_not_equal(thrd_success, mtx_init(NULL, mtx_plain)); in ZTEST() 33 zassert_not_equal(thrd_success, mtx_init((mtx_t *)BIOS_FOOD, FORTY_TWO)); in ZTEST() 39 zassert_equal(thrd_success, mtx_init(&mutex, type)); in ZTEST() 53 zassert_equal(thrd_success, mtx_init(&mutex, mtx_plain)); in ZTEST() 61 zassert_not_equal(thrd_success, mtx_lock(NULL)); in ZTEST() 62 zassert_not_equal(thrd_success, mtx_lock((mtx_t *)BIOS_FOOD)); in ZTEST() 69 zassert_equal(thrd_success, mtx_init(&mutex, type)); in ZTEST() 70 zassert_equal(thrd_success, mtx_lock(&mutex)); in ZTEST() [all …]
|
D | cnd.c | 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() [all …]
|
D | thrd.c | 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() 131 zassert_equal(thrd_success, thrd_create(&child, thrd_current_equal_fn, NULL)); in ZTEST() 132 zassert_equal(thrd_success, thrd_join(child, NULL)); 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() [all …]
|
D | tss.c | 70 zassert_not_equal(thrd_success, tss_set(FORTY_TWO, (void *)BIOS_FOOD)); in ZTEST() 73 zassert_equal(thrd_success, thrd_create(&thread1, thread_fn, (void *)&forty_two)); in ZTEST() 74 zassert_equal(thrd_success, thrd_create(&thread2, thread_fn, (void *)&seventy_three)); in ZTEST() 76 zassert_equal(thrd_success, thrd_join(thread1, &res1)); in ZTEST() 77 zassert_equal(thrd_success, thrd_join(thread2, &res2)); in ZTEST() 90 zassert_equal(thrd_success, tss_create(&key, destroy_fn)); in before()
|
/Zephyr-latest/lib/libc/common/source/thrd/ |
D | cnd.c | 16 return thrd_success; in cnd_broadcast() 31 return thrd_success; in cnd_init() 43 return thrd_success; in cnd_signal() 55 return thrd_success; in cnd_timedwait() 67 return thrd_success; in cnd_wait()
|
D | mtx.c | 38 ret = thrd_success; in mtx_init() 61 return thrd_success; in mtx_lock() 71 return thrd_success; in mtx_timedlock() 83 return thrd_success; in mtx_trylock() 95 return thrd_success; in mtx_unlock()
|
D | thrd.c | 27 return thrd_success; in thrd_create() 66 return thrd_success; in thrd_detach() 81 return thrd_success; in thrd_join()
|
D | tss.c | 17 return thrd_success; in tss_create() 36 return thrd_success; in tss_set()
|
/Zephyr-latest/lib/libc/common/include/ |
D | threads.h | 22 thrd_success, enumerator 23 #define thrd_success thrd_success macro
|