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()
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()
212 return thrd_success; in mtx_init()
219 return thrd_success; in mtx_init()
227 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock()
251 return thrd_success; in mtx_timedlock()
256 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()
263 return thrd_success; in mtx_timedlock()
273 return (pthread_mutex_trylock(mtx) == 0) ? thrd_success : thrd_busy; in mtx_trylock()
281 return (pthread_mutex_unlock(mtx) == 0) ? thrd_success : thrd_error; in mtx_unlock()
300 return thrd_success; in thrd_create()
314 return (pthread_detach(thr) == 0) ? thrd_success : thrd_error; in thrd_detach()
340 return thrd_success; in thrd_join()
368 return (pthread_key_create(key, dtor) == 0) ? thrd_success : thrd_error; in tss_create()
389 return (pthread_setspecific(key, val) == 0) ? thrd_success : thrd_error; in tss_set()