Searched refs:m_locked (Results 1 – 4 of 4) sorted by relevance
/third_party/boost/boost/interprocess/sync/ |
D | sharable_lock.hpp | 71 : mp_mutex(0), m_locked(false) in sharable_lock() 83 : mp_mutex(&m), m_locked(false) in sharable_lock() 84 { mp_mutex->lock_sharable(); m_locked = true; } in sharable_lock() 90 : mp_mutex(&m), m_locked(false) in sharable_lock() 97 : mp_mutex(&m), m_locked(true) in sharable_lock() 109 : mp_mutex(&m), m_locked(false) in sharable_lock() 110 { m_locked = mp_mutex->try_lock_sharable(); } in sharable_lock() 121 : mp_mutex(&m), m_locked(false) in sharable_lock() 122 { m_locked = mp_mutex->timed_lock_sharable(abs_time); } in sharable_lock() 133 : mp_mutex(0), m_locked(upgr.owns()) in sharable_lock() [all …]
|
D | upgradable_lock.hpp | 71 : mp_mutex(0), m_locked(false) in upgradable_lock() 75 : mp_mutex(&m), m_locked(false) in upgradable_lock() 76 { mp_mutex->lock_upgradable(); m_locked = true; } in upgradable_lock() 82 : mp_mutex(&m), m_locked(false) in upgradable_lock() 89 : mp_mutex(&m), m_locked(true) in upgradable_lock() 101 : mp_mutex(&m), m_locked(false) in upgradable_lock() 102 { m_locked = mp_mutex->try_lock_upgradable(); } in upgradable_lock() 113 : mp_mutex(&m), m_locked(false) in upgradable_lock() 114 { m_locked = mp_mutex->timed_lock_upgradable(abs_time); } in upgradable_lock() 127 : mp_mutex(0), m_locked(upgr.owns()) in upgradable_lock() [all …]
|
D | scoped_lock.hpp | 71 : mp_mutex(0), m_locked(false) in scoped_lock() 80 : mp_mutex(&m), m_locked(false) in scoped_lock() 81 { mp_mutex->lock(); m_locked = true; } in scoped_lock() 87 : mp_mutex(&m), m_locked(false) in scoped_lock() 94 : mp_mutex(&m), m_locked(true) in scoped_lock() 106 : mp_mutex(&m), m_locked(mp_mutex->try_lock()) in scoped_lock() 118 : mp_mutex(&m), m_locked(mp_mutex->timed_lock(abs_time)) in scoped_lock() 132 : mp_mutex(0), m_locked(scop.owns()) in scoped_lock() 150 : mp_mutex(0), m_locked(false) in scoped_lock() 155 m_locked = true; in scoped_lock() [all …]
|
/third_party/boost/libs/signals2/test/ |
D | deadlock_regression_test.cpp | 32 test_mutex(): m_locked(false) {} in test_mutex() 35 BOOST_CHECK(m_locked == false); in lock() 36 m_locked = true; in lock() 40 if(m_locked) return false; in try_lock() 46 m_locked = false; in unlock() 49 bool m_locked; member in test_mutex
|