Home
last modified time | relevance | path

Searched refs:mMutex (Results 1 – 7 of 7) sorted by relevance

/external/libnfc-nci/halimpl/bcm2079x/adaptation/
DMutex.cpp41 memset (&mMutex, 0, sizeof(mMutex)); in Mutex()
42 int res = pthread_mutex_init (&mMutex, NULL); in Mutex()
61 int res = pthread_mutex_destroy (&mMutex); in ~Mutex()
80 int res = pthread_mutex_lock (&mMutex); in lock()
99 int res = pthread_mutex_unlock (&mMutex); in unlock()
118 int res = pthread_mutex_trylock (&mMutex); in tryLock()
138 return &mMutex; in nativeHandle()
DSyncEvent.h57 mMutex.lock (); in start()
72 mCondVar.wait (mMutex); in wait()
88 bool retVal = mCondVar.wait (mMutex, millisec); in wait()
119 mMutex.unlock (); in end()
124 Mutex mMutex; variable
DMutex.h104 pthread_mutex_t mMutex;
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
DSDLOSXCAGuard.c100 OSStatus theError = pthread_mutex_lock(&cag->mMutex); in SDLOSXCAGuard_Lock()
116 theError = pthread_mutex_unlock(&cag->mMutex); in SDLOSXCAGuard_Unlock()
130 OSStatus theError = pthread_mutex_trylock(&cag->mMutex); in SDLOSXCAGuard_Try()
148 theError = pthread_cond_wait(&cag->mCondVar, &cag->mMutex); in SDLOSXCAGuard_Wait()
178 theError = pthread_mutex_init(&cag->mMutex, NULL); in new_SDLOSXCAGuard()
194 pthread_mutex_destroy(&cag->mMutex); in delete_SDLOSXCAGuard()
DSDLOSXCAGuard.h107 pthread_mutex_t mMutex; member
/external/libnfc-nci/src/adaptation/
DNfcAdaptation.cpp495 pthread_mutex_init(&mMutex, &mutexAttr); in ThreadMutex()
510 pthread_mutex_destroy(&mMutex); in ~ThreadMutex()
524 pthread_mutex_lock(&mMutex); in lock()
538 pthread_mutex_unlock(&mMutex); in unlock()
/external/libnfc-nci/src/include/
DNfcAdaptation.h34 operator pthread_mutex_t* () {return &mMutex;}
36 pthread_mutex_t mMutex;