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

/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DMutex.cpp41 memset (&mMutex, 0, sizeof(mMutex));
42 int res = pthread_mutex_init (&mMutex, NULL);
61 int res = pthread_mutex_destroy (&mMutex);
80 int res = pthread_mutex_lock (&mMutex);
99 int res = pthread_mutex_unlock (&mMutex);
118 int res = pthread_mutex_trylock (&mMutex);
138 return &mMutex;
H A DSyncEvent.h57 mMutex.lock ();
72 mCondVar.wait (mMutex);
88 bool retVal = mCondVar.wait (mMutex, millisec);
119 mMutex.unlock ();
124 Mutex mMutex; member in class:SyncEvent
H A DMutex.h104 pthread_mutex_t mMutex; member in class:Mutex
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
H A DSDLOSXCAGuard.c100 OSStatus theError = pthread_mutex_lock(&cag->mMutex);
116 theError = pthread_mutex_unlock(&cag->mMutex);
130 OSStatus theError = pthread_mutex_trylock(&cag->mMutex);
148 theError = pthread_cond_wait(&cag->mCondVar, &cag->mMutex);
178 theError = pthread_mutex_init(&cag->mMutex, NULL);
194 pthread_mutex_destroy(&cag->mMutex);
H A DSDLOSXCAGuard.h107 pthread_mutex_t mMutex; member in struct:S_SDLOSXCAGuard
/external/libnfc-nci/src/include/
H A DNfcAdaptation.h35 operator pthread_mutex_t* () {return &mMutex;}
37 pthread_mutex_t mMutex; member in class:ThreadMutex
/external/libnfc-nci/src/adaptation/
H A DNfcAdaptation.cpp590 pthread_mutex_init(&mMutex, &mutexAttr);
605 pthread_mutex_destroy(&mMutex);
619 pthread_mutex_lock(&mMutex);
633 pthread_mutex_unlock(&mMutex);

Completed in 190 milliseconds