Lines Matching refs:thrd_error
106 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error;
122 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error;
130 return (pthread_cond_signal(cond) == 0) ? thrd_success : thrd_error;
146 return (rt == 0) ? thrd_success : thrd_error;
155 return (pthread_cond_wait(cond, mtx) == 0) ? thrd_success : thrd_error;
204 return thrd_error;
223 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error;
245 return (rt == ETIMEDOUT) ? thrd_busy : thrd_error;
274 return (pthread_mutex_unlock(mtx) == 0) ? thrd_success : thrd_error;
291 return thrd_error;
307 return (pthread_detach(thr) == 0) ? thrd_success : thrd_error;
330 return thrd_error;
358 return (pthread_key_create(key, dtor) == 0) ? thrd_success : thrd_error;
379 return (pthread_setspecific(key, val) == 0) ? thrd_success : thrd_error;