Home
last modified time | relevance | path

Searched refs:pMutex (Results 1 – 2 of 2) sorted by relevance

/utopia/UTPA2-700.0.x/modules/hsl/api/hsl/
H A Dfrhsl_ringbuffer.c567 MS_BOOL initMutex(pthread_mutex_t* pMutex) in initMutex() argument
571 if (0 == pthread_mutex_init(pMutex, NULL)) in initMutex()
585 MS_BOOL deleteMutex(pthread_mutex_t* pMutex) in deleteMutex() argument
589 if (0 == pthread_mutex_destroy(pMutex)) in deleteMutex()
/utopia/UTPA2-700.0.x/modules/msos/msos/linux/
H A DMsOS_linux.c2864 static void _MsOS_QueueMutexUnlock(pthread_mutex_t* pMutex) in _MsOS_QueueMutexUnlock() argument
2866 PTH_RET_CHK(pthread_mutex_unlock(pMutex)); in _MsOS_QueueMutexUnlock()
2868 static MS_BOOL _MsOS_QueueMutexLock(pthread_mutex_t* pMutex, MS_U32 u32WaitMs) in _MsOS_QueueMutexLock() argument
2874 PTH_RET_CHK(pthread_mutex_lock(pMutex)); in _MsOS_QueueMutexLock()
2879 if (!PTH_RET_CHK(pthread_mutex_trylock(pMutex))) in _MsOS_QueueMutexLock()
2887 PTH_RET_CHK(pthread_mutex_lock(pMutex)); in _MsOS_QueueMutexLock()
2892 bRet= (PTH_RET_CHK(pthread_mutex_timedlock(pMutex, &StopTime)))? FALSE: TRUE; in _MsOS_QueueMutexLock()