Searched refs:m_pMutex (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | PThreadMutex.cpp | 21 : m_pMutex(m.Mutex()), m_function(function), m_file(file), m_line(line), in Locker() 28 : m_pMutex(m ? m->Mutex() : NULL), m_function(function), m_file(file), in Locker() 35 : m_pMutex(mutex), m_function(function), m_file(file), m_line(line), in Locker() 43 if (m_pMutex) { in Lock() 45 if (::pthread_mutex_trylock(m_pMutex) != 0) { in Lock() 48 m_pMutex, m_function, m_file, m_line); in Lock() 49 ::pthread_mutex_lock(m_pMutex); in Lock() 52 m_pMutex, DNBTimer::GetTimeOfDay() - m_lock_time, m_function, in Lock() 61 m_pMutex, DNBTimer::GetTimeOfDay() - m_lock_time, m_function, m_file, in Unlock() 63 ::pthread_mutex_unlock(m_pMutex); in Unlock()
|
| H A D | PThreadMutex.h | 45 Locker(PThreadMutex &m) : m_pMutex(m.Mutex()) { Lock(); } 47 Locker(PThreadMutex *m) : m_pMutex(m ? m->Mutex() : NULL) { Lock(); } 49 Locker(pthread_mutex_t *mutex) : m_pMutex(mutex) { Lock(); } 52 if (m_pMutex) 53 ::pthread_mutex_lock(m_pMutex); 57 if (m_pMutex) 58 ::pthread_mutex_unlock(m_pMutex); 68 m_pMutex = pMutex; 71 pthread_mutex_t *m_pMutex; variable
|