Searched refs:ThreadMutex (Results 1 – 11 of 11) sorted by relevance
29 class ThreadMutex {31 ThreadMutex();32 virtual ~ThreadMutex();41 class ThreadCondVar : public ThreadMutex {49 return ThreadMutex::operator pthread_mutex_t*();58 AutoThreadMutex(ThreadMutex& m);60 operator ThreadMutex&() { return mm; }64 ThreadMutex& mm;79 static ThreadMutex sLock;80 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;
39 ThreadMutex NfcAdaptation::sIoctlLock;41 ThreadMutex NfcAdaptation::sLock;80 ThreadMutex::ThreadMutex() { in ThreadMutex() function in ThreadMutex96 ThreadMutex::~ThreadMutex() { pthread_mutex_destroy(&mMutex); } in ~ThreadMutex()107 AutoThreadMutex::AutoThreadMutex(ThreadMutex& m) : mm(m) { mm.lock(); } in AutoThreadMutex()129 void ThreadMutex::lock() { pthread_mutex_lock(&mMutex); } in lock()140 void ThreadMutex::unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
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;272 ThreadMutex::ThreadMutex() { in ThreadMutex() function in ThreadMutex289 ThreadMutex::~ThreadMutex() { pthread_mutex_destroy(&mMutex); } in ~ThreadMutex()300 void ThreadMutex::lock() { pthread_mutex_lock(&mMutex); } in lock()311 void ThreadMutex::unlock() { pthread_mutex_unlock(&mMutex); } in unlock()379 AutoThreadMutex::AutoThreadMutex(ThreadMutex& m) : mm(m) { mm.lock(); } in AutoThreadMutex()
29 class ThreadMutex {31 ThreadMutex();32 virtual ~ThreadMutex();43 AutoThreadMutex(ThreadMutex& m);45 operator ThreadMutex&() { return mm; }49 ThreadMutex& mm;
45 ThreadMutex EseAdaptation::sLock;46 ThreadMutex EseAdaptation::sIoctlLock;285 ThreadMutex::ThreadMutex() { in ThreadMutex() function in ThreadMutex302 ThreadMutex::~ThreadMutex() { pthread_mutex_destroy(&mMutex); } in ~ThreadMutex()313 void ThreadMutex::lock() { pthread_mutex_lock(&mMutex); } in lock()324 void ThreadMutex::unlock() { pthread_mutex_unlock(&mMutex); } in unlock()392 AutoThreadMutex::AutoThreadMutex(ThreadMutex& m) : mm(m) { mm.lock(); } in AutoThreadMutex()
31 class ThreadMutex {33 ThreadMutex();34 virtual ~ThreadMutex();45 AutoThreadMutex(ThreadMutex& m);47 operator ThreadMutex&() { return mm; }51 ThreadMutex& mm;
32 class ThreadMutex {34 ThreadMutex();35 virtual ~ThreadMutex();46 AutoThreadMutex(ThreadMutex& m);48 operator ThreadMutex&() { return mm; }52 ThreadMutex& mm;
58 static ThreadMutex sHalFnLock;