Lines Matching refs:nRet
47 int nRet=0; in osl_createCondition() local
61 nRet = pthread_cond_init(&pCond->m_Condition, PTHREAD_CONDATTR_DEFAULT); in osl_createCondition()
62 if ( nRet != 0 ) in osl_createCondition()
65 nRet, strerror(nRet)); in osl_createCondition()
71 nRet = pthread_mutex_init(&pCond->m_Lock, PTHREAD_MUTEXATTR_DEFAULT); in osl_createCondition()
72 if ( nRet != 0 ) in osl_createCondition()
75 nRet, strerror(nRet)); in osl_createCondition()
77 nRet = pthread_cond_destroy(&pCond->m_Condition); in osl_createCondition()
78 if ( nRet != 0 ) in osl_createCondition()
81 nRet, strerror(nRet)); in osl_createCondition()
97 int nRet = 0; in osl_destroyCondition() local
103 nRet = pthread_cond_destroy(&pCond->m_Condition); in osl_destroyCondition()
104 if ( nRet != 0 ) in osl_destroyCondition()
107 nRet, strerror(nRet)); in osl_destroyCondition()
109 nRet = pthread_mutex_destroy(&pCond->m_Lock); in osl_destroyCondition()
110 if ( nRet != 0 ) in osl_destroyCondition()
113 nRet, strerror(nRet)); in osl_destroyCondition()
128 int nRet=0; in osl_setCondition() local
138 nRet = pthread_mutex_lock(&pCond->m_Lock); in osl_setCondition()
139 if ( nRet != 0 ) in osl_setCondition()
142 nRet, strerror(nRet)); in osl_setCondition()
147 nRet = pthread_cond_broadcast(&pCond->m_Condition); in osl_setCondition()
148 if ( nRet != 0 ) in osl_setCondition()
151 nRet, strerror(nRet)); in osl_setCondition()
155 nRet = pthread_mutex_unlock(&pCond->m_Lock); in osl_setCondition()
156 if ( nRet != 0 ) in osl_setCondition()
159 nRet, strerror(nRet)); in osl_setCondition()
173 int nRet=0; in osl_resetCondition() local
184 nRet = pthread_mutex_lock(&pCond->m_Lock); in osl_resetCondition()
185 if ( nRet != 0 ) in osl_resetCondition()
188 nRet, strerror(nRet)); in osl_resetCondition()
194 nRet = pthread_mutex_unlock(&pCond->m_Lock); in osl_resetCondition()
195 if ( nRet != 0 ) in osl_resetCondition()
198 nRet, strerror(nRet)); in osl_resetCondition()
211 int nRet=0; in osl_waitCondition() local
222 nRet = pthread_mutex_lock(&pCond->m_Lock); in osl_waitCondition()
223 if ( nRet != 0 ) in osl_waitCondition()
226 nRet, strerror(nRet)); in osl_waitCondition()
252 nRet = pthread_mutex_unlock(&pCond->m_Lock); in osl_waitCondition()
253 if (nRet != 0) in osl_waitCondition()
256 nRet, strerror(nRet)); in osl_waitCondition()
264 nRet = pthread_mutex_unlock(&pCond->m_Lock); in osl_waitCondition()
265 if ( nRet != 0 ) in osl_waitCondition()
268 nRet, strerror(nRet)); in osl_waitCondition()
282 nRet = pthread_cond_wait(&pCond->m_Condition, &pCond->m_Lock); in osl_waitCondition()
283 if ( nRet != 0 ) in osl_waitCondition()
286 nRet, strerror(nRet)); in osl_waitCondition()
288 nRet = pthread_mutex_unlock(&pCond->m_Lock); in osl_waitCondition()
289 if ( nRet != 0 ) in osl_waitCondition()
292 nRet, strerror(nRet)); in osl_waitCondition()
300 nRet = pthread_mutex_unlock(&pCond->m_Lock); in osl_waitCondition()
301 if ( nRet != 0 ) in osl_waitCondition()
304 nRet, strerror(nRet)); in osl_waitCondition()
317 int nRet=0; in osl_checkCondition() local
327 nRet = pthread_mutex_lock(&pCond->m_Lock); in osl_checkCondition()
328 if ( nRet != 0 ) in osl_checkCondition()
331 nRet, strerror(nRet)); in osl_checkCondition()
336 nRet = pthread_mutex_unlock(&pCond->m_Lock); in osl_checkCondition()
337 if ( nRet != 0 ) in osl_checkCondition()
340 nRet, strerror(nRet)); in osl_checkCondition()