Lines Matching refs:thrd_error
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()
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()
307 return (pthread_detach(thr) == 0) ? thrd_success : thrd_error; in thrd_detach()
330 return thrd_error; in thrd_join()
358 return (pthread_key_create(key, dtor) == 0) ? thrd_success : thrd_error; in tss_create()
379 return (pthread_setspecific(key, val) == 0) ? thrd_success : thrd_error; in tss_set()