Searched refs:ThreadMutex (Results 1 – 5 of 5) sorted by relevance
28 class ThreadMutex {30 ThreadMutex();31 virtual ~ThreadMutex();40 class ThreadCondVar : public ThreadMutex {48 return ThreadMutex::operator pthread_mutex_t*();57 AutoThreadMutex(ThreadMutex& m);59 operator ThreadMutex&() { return mm; }63 ThreadMutex& mm;77 static ThreadMutex sLock;78 static ThreadMutex sIoctlLock;
31 class ThreadMutex {33 ThreadMutex();34 virtual ~ThreadMutex();43 class ThreadCondVar : public ThreadMutex {51 return ThreadMutex::operator pthread_mutex_t*();60 AutoThreadMutex(ThreadMutex& m);62 operator ThreadMutex&() { return mm; }66 ThreadMutex& mm;84 static ThreadMutex sLock;85 static ThreadMutex sIoctlLock;
33 ThreadMutex NfcAdaptation::sIoctlLock;35 ThreadMutex NfcAdaptation::sLock;76 ThreadMutex::ThreadMutex() { in ThreadMutex() function in ThreadMutex92 ThreadMutex::~ThreadMutex() { pthread_mutex_destroy(&mMutex); } in ~ThreadMutex()103 AutoThreadMutex::AutoThreadMutex(ThreadMutex& m) : mm(m) { mm.lock(); } in AutoThreadMutex()125 void ThreadMutex::lock() { pthread_mutex_lock(&mMutex); } in lock()136 void ThreadMutex::unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
45 ThreadMutex EseAdaptation::sLock;46 ThreadMutex EseAdaptation::sIoctlLock;279 ThreadMutex::ThreadMutex() { in ThreadMutex() function in ThreadMutex296 ThreadMutex::~ThreadMutex() { pthread_mutex_destroy(&mMutex); } in ~ThreadMutex()307 void ThreadMutex::lock() { pthread_mutex_lock(&mMutex); } in lock()318 void ThreadMutex::unlock() { pthread_mutex_unlock(&mMutex); } in unlock()386 AutoThreadMutex::AutoThreadMutex(ThreadMutex& m) : mm(m) { mm.lock(); } in AutoThreadMutex()
55 static ThreadMutex sHalFnLock;