Lines Matching full:pmutex
421 INLINE void dvmInitMutex(pthread_mutex_t* pMutex)
430 pthread_mutex_init(pMutex, &attr);
433 pthread_mutex_init(pMutex, NULL); // default=PTHREAD_MUTEX_FAST_NP
440 INLINE void dvmLockMutex(pthread_mutex_t* pMutex)
442 int cc __attribute__ ((__unused__)) = pthread_mutex_lock(pMutex);
449 INLINE int dvmTryLockMutex(pthread_mutex_t* pMutex)
451 int cc = pthread_mutex_trylock(pMutex);
459 INLINE void dvmUnlockMutex(pthread_mutex_t* pMutex)
461 int cc __attribute__ ((__unused__)) = pthread_mutex_unlock(pMutex);
468 INLINE void dvmDestroyMutex(pthread_mutex_t* pMutex)
470 int cc __attribute__ ((__unused__)) = pthread_mutex_destroy(pMutex);
486 INLINE void dvmWaitCond(pthread_cond_t* pCond, pthread_mutex_t* pMutex)
488 int cc __attribute__ ((__unused__)) = pthread_cond_wait(pCond, pMutex);