Searched refs:thrd_success (Results 1 – 4 of 4) sorted by relevance
/bionic/tests/ |
D | threads_test.cpp | 86 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/ |
D | threads_inlines.h | 147 if (__result != thrd_success) free(__pthread_arg); in thrd_create() 174 return thrd_success; in thrd_join()
|
/bionic/tests/headers/posix/ |
D | threads_h.c | 52 thrd_timedout | thrd_success | thrd_busy | thrd_error | thrd_nomem; in threads_h()
|
/bionic/libc/include/ |
D | threads.h | 68 thrd_success = 0, enumerator
|