Searched refs:ThreadMutex (Results 1 – 11 of 11) 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;83 static ThreadMutex sLock;84 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()
56 ThreadMutex NfcAdaptation::sIoctlLock;58 ThreadMutex NfcAdaptation::sLock;112 ThreadMutex::ThreadMutex() { in ThreadMutex() function in ThreadMutex128 ThreadMutex::~ThreadMutex() { pthread_mutex_destroy(&mMutex); } in ~ThreadMutex()139 AutoThreadMutex::AutoThreadMutex(ThreadMutex& m) : mm(m) { mm.lock(); } in AutoThreadMutex()161 void ThreadMutex::lock() { pthread_mutex_lock(&mMutex); } in lock()172 void ThreadMutex::unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
31 class ThreadMutex {33 ThreadMutex();34 virtual ~ThreadMutex();45 AutoThreadMutex(ThreadMutex& m);47 operator ThreadMutex&() { return mm; }51 ThreadMutex& mm;
30 class ThreadMutex {32 ThreadMutex();33 virtual ~ThreadMutex();44 AutoThreadMutex(ThreadMutex& m);46 operator ThreadMutex&() { return mm; }50 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()
32 class ThreadMutex {34 ThreadMutex();35 virtual ~ThreadMutex();46 AutoThreadMutex(ThreadMutex& m);48 operator ThreadMutex&() { return mm; }52 ThreadMutex& mm;
35 class ThreadMutex {37 ThreadMutex();38 virtual ~ThreadMutex();49 AutoThreadMutex(ThreadMutex& m);51 operator ThreadMutex&() { return mm; }55 ThreadMutex& mm;
58 static ThreadMutex sHalFnLock;