Home | History | Annotate | Download | only in vm

Lines Matching full:pmutex

412 INLINE void dvmInitMutex(pthread_mutex_t* pMutex)
421 pthread_mutex_init(pMutex, &attr);
424 pthread_mutex_init(pMutex, NULL); // default=PTHREAD_MUTEX_FAST_NP
431 INLINE void dvmLockMutex(pthread_mutex_t* pMutex)
433 int cc __attribute__ ((__unused__)) = pthread_mutex_lock(pMutex);
440 INLINE int dvmTryLockMutex(pthread_mutex_t* pMutex)
442 int cc = pthread_mutex_trylock(pMutex);
450 INLINE void dvmUnlockMutex(pthread_mutex_t* pMutex)
452 int cc __attribute__ ((__unused__)) = pthread_mutex_unlock(pMutex);
459 INLINE void dvmDestroyMutex(pthread_mutex_t* pMutex)
461 int cc __attribute__ ((__unused__)) = pthread_mutex_destroy(pMutex);
477 INLINE void dvmWaitCond(pthread_cond_t* pCond, pthread_mutex_t* pMutex)
479 int cc __attribute__ ((__unused__)) = pthread_cond_wait(pCond, pMutex);