Searched refs:thrd_success (Results 1 – 4 of 4) sorted by relevance
/bionic/tests/ |
D | threads_test.cpp | 85 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_plain)); in TEST() 88 ASSERT_EQ(thrd_success, cnd_init(&c)); in TEST() 93 ASSERT_EQ(thrd_success, mtx_lock(&m)); in TEST() 94 while (i != 1) ASSERT_EQ(thrd_success, cnd_wait(&c, &m)); in TEST() 95 ASSERT_EQ(thrd_success, mtx_unlock(&m)); in TEST() 101 ASSERT_EQ(thrd_success, mtx_lock(&m)); in TEST() 103 ASSERT_EQ(thrd_success, mtx_unlock(&m)); in TEST() 105 ASSERT_EQ(thrd_success, cnd_broadcast(&c)); in TEST() 121 ASSERT_EQ(thrd_success, cnd_init(&c)); in TEST() 131 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_plain)); in TEST() [all …]
|
/bionic/libc/include/bits/ |
D | threads_inlines.h | 148 if (__result != thrd_success) free(__pthread_arg); in thrd_create() 175 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
|