Searched refs:thrd_error (Results 1 – 3 of 3) sorted by relevance
106 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()208 return thrd_error; in mtx_init()227 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock()252 return (rt == ETIMEDOUT) ? thrd_busy : thrd_error; in mtx_timedlock()281 return (pthread_mutex_unlock(mtx) == 0) ? thrd_success : thrd_error; in mtx_unlock()298 return thrd_error; in thrd_create()[all …]
325 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 …]
67 thrd_error, // failed enumerator