Home
last modified time | relevance | path

Searched refs:thrd_error (Results 1 – 6 of 6) sorted by relevance

/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()
182 return thrd_error; in mtx_init()
196 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock()
221 return (rt == ETIMEDOUT) ? thrd_busy : thrd_error; in mtx_timedlock()
250 return (pthread_mutex_unlock(mtx) == 0) ? thrd_success : thrd_error; in mtx_unlock()
267 return thrd_error; in thrd_create()
[all …]
Dthreads_win32.h325 if (!cond) return thrd_error; in cnd_broadcast()
352 if (!cond) return thrd_error; in cnd_init()
370 if (!cond) return thrd_error; in cnd_signal()
383 if (!cond || !mtx || !xt) return thrd_error; in cnd_timedwait()
387 return (GetLastError() == ERROR_TIMEOUT) ? thrd_busy : thrd_error; in cnd_timedwait()
397 if (!cond || !mtx) return thrd_error; in cnd_wait()
420 if (!mtx) return thrd_error; in mtx_init()
425 return thrd_error; in mtx_init()
434 if (!mtx) return thrd_error; in mtx_lock()
444 if (!mtx || !xt) return thrd_error; in mtx_timedlock()
[all …]
Dthreads.h62 thrd_error, // failed enumerator
/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()
204 return thrd_error; in mtx_init()
223 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock()
245 return (rt == ETIMEDOUT) ? thrd_busy : thrd_error; in mtx_timedlock()
274 return (pthread_mutex_unlock(mtx) == 0) ? thrd_success : thrd_error; in mtx_unlock()
291 return thrd_error; in thrd_create()
[all …]
Dthreads_win32.h339 if (!cond) return thrd_error; in cnd_broadcast()
366 if (!cond) return thrd_error; in cnd_init()
384 if (!cond) return thrd_error; in cnd_signal()
397 if (!cond || !mtx || !abs_time) return thrd_error; in cnd_timedwait()
401 return (GetLastError() == ERROR_TIMEOUT) ? thrd_busy : thrd_error; in cnd_timedwait()
411 if (!cond || !mtx) return thrd_error; in cnd_wait()
434 if (!mtx) return thrd_error; in mtx_init()
439 return thrd_error; in mtx_init()
448 if (!mtx) return thrd_error; in mtx_lock()
458 if (!mtx || !ts) return thrd_error; in mtx_timedlock()
[all …]
Dthreads.h56 thrd_error, // failed enumerator