Home
last modified time | relevance | path

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

/external/mesa3d/include/c11/
Dthreads_posix.h106 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error; in cnd_broadcast()
122 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error; in cnd_init()
130 return (pthread_cond_signal(cond) == 0) ? thrd_success : thrd_error; in cnd_signal()
146 return (rt == 0) ? thrd_success : thrd_error; in cnd_timedwait()
155 return (pthread_cond_wait(cond, mtx) == 0) ? thrd_success : thrd_error; in cnd_wait()
208 return thrd_success; in mtx_init()
215 return thrd_success; in mtx_init()
223 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock()
244 return thrd_success; in mtx_timedlock()
249 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()
[all …]
Dthreads_win32.h272 return timeout ? thrd_busy : thrd_success; in impl_cond_do_wait()
345 return thrd_success; in cnd_broadcast()
377 return thrd_success; in cnd_init()
390 return thrd_success; in cnd_signal()
400 return thrd_success; in cnd_timedwait()
417 return thrd_success; in cnd_wait()
441 return thrd_success; in mtx_init()
450 return thrd_success; in mtx_lock()
461 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()
468 return thrd_success; in mtx_timedlock()
[all …]
Dthreads.h54 thrd_success = 0, // succeeded enumerator
/external/virglrenderer/src/gallium/include/c11/
Dthreads_posix.h106 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error; in cnd_broadcast()
122 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error; in cnd_init()
130 return (pthread_cond_signal(cond) == 0) ? thrd_success : thrd_error; in cnd_signal()
150 return (rt == 0) ? thrd_success : thrd_error; in cnd_timedwait()
159 return (pthread_cond_wait(cond, mtx) == 0) ? thrd_success : thrd_error; in cnd_wait()
188 return thrd_success; in mtx_init()
196 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock()
220 return thrd_success; in mtx_timedlock()
225 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()
232 return thrd_success; in mtx_timedlock()
[all …]
Dthreads_win32.h258 return timeout ? thrd_busy : thrd_success; in impl_cond_do_wait()
331 return thrd_success; in cnd_broadcast()
363 return thrd_success; in cnd_init()
376 return thrd_success; in cnd_signal()
386 return thrd_success; in cnd_timedwait()
403 return thrd_success; in cnd_wait()
427 return thrd_success; in mtx_init()
436 return thrd_success; in mtx_lock()
447 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()
454 return thrd_success; in mtx_timedlock()
[all …]
Dthreads.h60 thrd_success = 0, // succeeded enumerator
/external/mesa3d/src/gallium/auxiliary/os/
Dos_thread.h57 if (ret == thrd_success) in __pipe_mutex_assert_locked()
/external/mesa3d/src/egl/main/
Deglcurrent.c90 if (tss_create(&_egl_TSD, (void (*)(void *)) dtor) != thrd_success) { in _eglInitTSD()
/external/mesa3d/src/util/
Du_queue.c184 if (cnd_timedwait(&fence->cond, &fence->mutex, &ts) != thrd_success) in _util_queue_fence_wait_timeout()