Searched refs:thrd_error (Results 1 – 7 of 7) sorted by relevance
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()183 return thrd_error; in mtx_init()202 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock()233 return (rt == ETIMEDOUT) ? thrd_timedout : thrd_error; in mtx_timedlock()238 return thrd_error; in mtx_timedlock()263 return (pthread_mutex_unlock(mtx) == 0) ? thrd_success : thrd_error; in mtx_unlock()[all …]
203 return (GetLastError() == ERROR_TIMEOUT) ? thrd_timedout : thrd_error; in cnd_timedwait()234 return thrd_error; in mtx_init()308 return thrd_error; in thrd_create()379 return thrd_error; in thrd_join()383 return thrd_error; in thrd_join()387 return thrd_error; in thrd_join()424 return thrd_error; in tss_create()427 return (*key != 0xFFFFFFFF) ? thrd_success : thrd_error; in tss_create()448 return TlsSetValue(key, val) ? thrd_success : thrd_error; in tss_set()
56 int ret = thrd_error; in u_cnd_monotonic_init()92 return (pthread_cond_broadcast(&cond->cond) == 0) ? thrd_success : thrd_error; in u_cnd_monotonic_broadcast()105 return (pthread_cond_signal(&cond->cond) == 0) ? thrd_success : thrd_error; in u_cnd_monotonic_signal()122 return (GetLastError() == ERROR_TIMEOUT) ? thrd_timedout : thrd_error; in u_cnd_monotonic_timedwait()127 return (rt == 0) ? thrd_success : thrd_error; in u_cnd_monotonic_timedwait()141 return (pthread_cond_wait(&cond->cond, mtx) == 0) ? thrd_success : thrd_error; in u_cnd_monotonic_wait()
53 int ret = thrd_error; in u_thread_create()
144 thrd_error, // failed enumerator
311 if (ret == thrd_error) in vk_sync_timeline_point_install()385 if (ret == thrd_error) in vk_sync_timeline_signal_locked()461 if (ret == thrd_error) in vk_sync_timeline_wait_locked()
76 if (ret == thrd_error) { in vk_queue_init()82 if (ret == thrd_error) { in vk_queue_init()88 if (ret == thrd_error) { in vk_queue_init()279 if (ret == thrd_error) { in vk_queue_drain()468 if (ret == thrd_error) { in vk_queue_submit_thread_func()531 if (ret == thrd_error) in vk_queue_start_submit_thread()