Home
last modified time | relevance | path

Searched refs:thrd_success (Results 1 – 4 of 4) sorted by relevance

/bionic/tests/
Dthreads_test.cpp86 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_plain)); in TEST()
89 ASSERT_EQ(thrd_success, cnd_init(&c)); in TEST()
94 ASSERT_EQ(thrd_success, mtx_lock(&m)); in TEST()
95 while (i != 1) ASSERT_EQ(thrd_success, cnd_wait(&c, &m)); in TEST()
96 ASSERT_EQ(thrd_success, mtx_unlock(&m)); in TEST()
102 ASSERT_EQ(thrd_success, mtx_lock(&m)); in TEST()
104 ASSERT_EQ(thrd_success, mtx_unlock(&m)); in TEST()
106 ASSERT_EQ(thrd_success, cnd_broadcast(&c)); in TEST()
122 ASSERT_EQ(thrd_success, cnd_init(&c)); in TEST()
132 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_plain)); in TEST()
[all …]
/bionic/libc/include/bits/
Dthreads_inlines.h147 if (__result != thrd_success) free(__pthread_arg); in thrd_create()
174 return thrd_success; in thrd_join()
/bionic/tests/headers/posix/
Dthreads_h.c52 thrd_timedout | thrd_success | thrd_busy | thrd_error | thrd_nomem; in threads_h()
/bionic/libc/include/
Dthreads.h68 thrd_success = 0, enumerator