Searched refs:mMutex (Results 1 – 7 of 7) sorted by relevance
41 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()
57 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
104 pthread_mutex_t mMutex;
100 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()
107 pthread_mutex_t mMutex; member
495 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()
34 operator pthread_mutex_t* () {return &mMutex;}36 pthread_mutex_t mMutex;