Lines Matching refs:thrd_success
86 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error;
102 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error;
110 return (pthread_cond_signal(cond) == 0) ? thrd_success : thrd_error;
126 return (rt == 0) ? thrd_success : thrd_error;
135 return (pthread_cond_wait(cond, mtx) == 0) ? thrd_success : thrd_error;
188 return thrd_success;
195 return thrd_success;
203 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error;
218 return thrd_success;
223 while (mtx_trylock(mtx) != thrd_success) {
230 return thrd_success;
240 return (pthread_mutex_trylock(mtx) == 0) ? thrd_success : thrd_busy;
248 return (pthread_mutex_unlock(mtx) == 0) ? thrd_success : thrd_error;
267 return thrd_success;
281 return (pthread_detach(thr) == 0) ? thrd_success : thrd_error;
308 return thrd_success;
333 return (pthread_key_create(key, dtor) == 0) ? thrd_success : thrd_error;
354 return (pthread_setspecific(key, val) == 0) ? thrd_success : thrd_error;