Searched refs:thrd_success (Results 1 – 8 of 8) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/c11/impl/ |
D | threads_posix.c | 86 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error; in cnd_broadcast() 102 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error; in cnd_init() 110 return (pthread_cond_signal(cond) == 0) ? thrd_success : thrd_error; in cnd_signal() 126 return (rt == 0) ? thrd_success : thrd_error; in cnd_timedwait() 135 return (pthread_cond_wait(cond, mtx) == 0) ? thrd_success : thrd_error; in cnd_wait() 187 return thrd_success; in mtx_init() 194 return thrd_success; in mtx_init() 202 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock() 232 return thrd_success; in mtx_timedlock() 235 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock() [all …]
|
D | threads_win32.c | 163 return thrd_success; in cnd_broadcast() 181 return thrd_success; in cnd_init() 190 return thrd_success; in cnd_signal() 202 return thrd_success; in cnd_timedwait() 213 return thrd_success; in cnd_wait() 236 return thrd_success; in mtx_init() 245 return thrd_success; in mtx_lock() 254 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock() 260 return thrd_success; in mtx_timedlock() 268 return TryEnterCriticalSection((PCRITICAL_SECTION)mtx) ? thrd_success : thrd_busy; in mtx_trylock() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | cnd_monotonic.h | 54 return thrd_success; in u_cnd_monotonic_init() 61 ret = thrd_success; in u_cnd_monotonic_init() 90 return thrd_success; in u_cnd_monotonic_broadcast() 92 return (pthread_cond_broadcast(&cond->cond) == 0) ? thrd_success : thrd_error; in u_cnd_monotonic_broadcast() 103 return thrd_success; in u_cnd_monotonic_signal() 105 return (pthread_cond_signal(&cond->cond) == 0) ? thrd_success : thrd_error; in u_cnd_monotonic_signal() 121 return thrd_success; in u_cnd_monotonic_timedwait() 127 return (rt == 0) ? thrd_success : thrd_error; in u_cnd_monotonic_timedwait() 139 return thrd_success; in u_cnd_monotonic_wait() 141 return (pthread_cond_wait(&cond->cond, mtx) == 0) ? thrd_success : thrd_error; in u_cnd_monotonic_wait()
|
D | simple_mtx.h | 193 if (ret == thrd_success)
|
D | u_queue.c | 200 if (cnd_timedwait(&fence->cond, &fence->mutex, &ts) != thrd_success) in _util_queue_fence_wait_timeout() 343 if (thrd_success != u_thread_create(queue->threads + index, util_queue_thread_func, input)) { in util_queue_create_thread()
|
/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | sparse_array_test.cpp | 59 ASSERT_EQ(ret, thrd_success); in TEST() 64 ASSERT_EQ(ret, thrd_success); in TEST()
|
/hardware/google/gfxstream/guest/mesa/src/c11/ |
D | threads.h | 142 thrd_success = 0, // succeeded enumerator
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_sync_timeline.c | 69 if (ret != thrd_success) in vk_sync_timeline_init() 73 if (ret != thrd_success) { in vk_sync_timeline_init()
|