Lines Matching refs:thrd_success
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()
188 return thrd_success; in mtx_init()
195 return thrd_success; in mtx_init()
203 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock()
218 return thrd_success; in mtx_timedlock()
223 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()
230 return thrd_success; in mtx_timedlock()
240 return (pthread_mutex_trylock(mtx) == 0) ? thrd_success : thrd_busy; in mtx_trylock()
248 return (pthread_mutex_unlock(mtx) == 0) ? thrd_success : thrd_error; in mtx_unlock()
267 return thrd_success; in thrd_create()
281 return (pthread_detach(thr) == 0) ? thrd_success : thrd_error; in thrd_detach()
308 return thrd_success; in thrd_join()
333 return (pthread_key_create(key, dtor) == 0) ? thrd_success : thrd_error; in tss_create()
354 return (pthread_setspecific(key, val) == 0) ? thrd_success : thrd_error; in tss_set()