Lines Matching defs:PThreadMutex
1 //===-- PThreadMutex.h ------------------------------------------*- C++ -*-===//
24 PThreadMutex::Locker var(mutex, __FUNCTION__, __FILE__, __LINE__)
27 #define PTHREAD_MUTEX_LOCKER(var, mutex) PThreadMutex::Locker var(mutex)
30 class PThreadMutex {
36 Locker(PThreadMutex &m, const char *function, const char *file, int line);
37 Locker(PThreadMutex *m, const char *function, const char *file, int line);
45 Locker(PThreadMutex &m) : m_pMutex(m.Mutex()) { Lock(); }
47 Locker(PThreadMutex *m) : m_pMutex(m ? m->Mutex() : NULL) { Lock(); }
80 PThreadMutex() {
86 PThreadMutex(int type) {
99 ~PThreadMutex() {