Lines Matching refs:m_lock
29 m_lock = new mutex_t;
30 mutex_init(m_lock);
32 else m_lock = NULL;
43 m_lock = new mutex_t;
44 mutex_init(m_lock);
46 else m_lock = NULL;
55 m_lock = new mutex_t;
56 mutex_init(m_lock);
58 else m_lock = NULL;
60 if (rhs.m_lock) mutex_lock(rhs.m_lock);
64 if (rhs.m_lock) mutex_unlock(rhs.m_lock);
68 if (m_lock) mutex_lock(m_lock); in ~SmartPtr()
70 if (m_lock) in ~SmartPtr()
72 mutex_unlock(m_lock); in ~SmartPtr()
73 mutex_destroy(m_lock); in ~SmartPtr()
74 delete m_lock; in ~SmartPtr() local
109 if (m_lock) mutex_lock(m_lock);
114 if (m_lock) mutex_unlock(m_lock);
124 if (m_lock) mutex_lock(m_lock);
126 if (rhs.m_lock) mutex_lock(rhs.m_lock);
130 if (rhs.m_lock) mutex_unlock(rhs.m_lock);
131 if (m_lock) mutex_unlock(m_lock);
138 mutex_t *m_lock; variable