Lines Matching refs:nRet
58 int nRet=0; in osl_createMutex() local
69 nRet = pthread_mutexattr_settype(&aMutexAttr, PTHREAD_MUTEX_RECURSIVE); in osl_createMutex()
71 nRet = pthread_mutex_init(&(pMutex->mutex), &aMutexAttr); in osl_createMutex()
72 if ( nRet != 0 ) in osl_createMutex()
75 nRet, strerror(nRet)); in osl_createMutex()
97 int nRet=0; in osl_destroyMutex() local
99 nRet = pthread_mutex_destroy(&(pMutex->mutex)); in osl_destroyMutex()
100 if ( nRet != 0 ) in osl_destroyMutex()
103 nRet, strerror(nRet)); in osl_destroyMutex()
123 int nRet=0; in osl_acquireMutex() local
125 nRet = pthread_mutex_lock(&(pMutex->mutex)); in osl_acquireMutex()
126 if ( nRet != 0 ) in osl_acquireMutex()
129 nRet, strerror(nRet)); in osl_acquireMutex()
150 int nRet = 0; in osl_tryToAcquireMutex() local
151 nRet = pthread_mutex_trylock(&(pMutex->mutex)); in osl_tryToAcquireMutex()
152 if ( nRet != 0 ) in osl_tryToAcquireMutex()
173 int nRet=0; in osl_releaseMutex() local
174 nRet = pthread_mutex_unlock(&(pMutex->mutex)); in osl_releaseMutex()
175 if ( nRet != 0 ) in osl_releaseMutex()
178 nRet, strerror(nRet)); in osl_releaseMutex()