Lines Matching refs:thrd_success
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()
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()
256 return thrd_success; in mtx_timedlock()
266 return (pthread_mutex_trylock(mtx) == 0) ? thrd_success : thrd_busy; in mtx_trylock()
274 return (pthread_mutex_unlock(mtx) == 0) ? thrd_success : thrd_error; in mtx_unlock()
293 return thrd_success; in thrd_create()
307 return (pthread_detach(thr) == 0) ? thrd_success : thrd_error; in thrd_detach()
333 return thrd_success; 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()