Lines Matching refs:thrd_success
62 return thrd_success; in mtx_init()
73 return ret == 0 ? thrd_success : thrd_error; in mtx_init()
95 return thrd_success; in mtx_lock()
97 return pthread_mutex_lock(mtx) == 0 ? thrd_success : thrd_error; in mtx_lock()
112 int ret = TryEnterCriticalSection(&mtx->mHandle) ? thrd_success : thrd_busy; in mtx_trylock()
113 if ((!mtx->mRecursive) && (ret == thrd_success) && mtx->mAlreadyLocked) in mtx_trylock()
120 return (pthread_mutex_trylock(mtx) == 0) ? thrd_success : thrd_busy; in mtx_trylock()
129 return thrd_success; in mtx_unlock()
131 return pthread_mutex_unlock(mtx) == 0 ? thrd_success : thrd_error;; in mtx_unlock()
163 return thrd_success; in cnd_init()
165 return pthread_cond_init(cond, NULL) == 0 ? thrd_success : thrd_error; in cnd_init()
205 return thrd_success; in cnd_signal()
207 return pthread_cond_signal(cond) == 0 ? thrd_success : thrd_error; in cnd_signal()
230 return thrd_success; in cnd_broadcast()
232 return pthread_cond_signal(cond) == 0 ? thrd_success : thrd_error; in cnd_broadcast()
281 return thrd_success; in _cnd_timedwait_win32()
290 return pthread_cond_wait(cond, mtx) == 0 ? thrd_success : thrd_error; in cnd_wait()
313 return ret == 0 ? thrd_success : thrd_error; in cnd_timedwait()
390 return thrd_success; in thrd_create()
462 return thrd_success; in thrd_join()
540 return thrd_success; in tss_create()
574 return thrd_success; in tss_set()