Lines Matching refs:thrd_error
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;
184 return thrd_error;
203 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error;
219 return (rt == ETIMEDOUT) ? thrd_timedout : thrd_error;
248 return (pthread_mutex_unlock(mtx) == 0) ? thrd_success : thrd_error;
265 return thrd_error;
281 return (pthread_detach(thr) == 0) ? thrd_success : thrd_error;
305 return thrd_error;
333 return (pthread_key_create(key, dtor) == 0) ? thrd_success : thrd_error;
354 return (pthread_setspecific(key, val) == 0) ? thrd_success : thrd_error;