Home
last modified time | relevance | path

Searched refs:timed_lock (Results 1 – 25 of 56) sorted by relevance

123

/third_party/boost/boost/interprocess/sync/spin/
Dmutex.hpp46 bool timed_lock(const boost::posix_time::ptime &abs_time);
63 bool timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function
64 { return m_sp.timed_lock(abs_time); } in timed_lock()
95 inline bool spin_mutex::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::ipcdetail::spin_mutex
Drecursive_mutex.hpp65 bool timed_lock(const boost::posix_time::ptime &abs_time);
122 inline bool spin_recursive_mutex::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::ipcdetail::spin_recursive_mutex
137 if(m_mutex.timed_lock(abs_time)){ in timed_lock()
/third_party/boost/boost/thread/win32/
Dbasic_recursive_mutex.hpp62 bool timed_lock(::boost::system_time const& target) in timed_lock() function
68 bool timed_lock(Duration const& target) in timed_lock() function
123 if(mutex.timed_lock(target)) in try_timed_lock()
134 if(mutex.timed_lock(target)) in try_timed_lock()
Dbasic_timed_mutex.hpp197 bool timed_lock(::boost::system_time const& wait_until) in timed_lock() function
204 bool timed_lock(Duration const& timeout) in timed_lock() function
211 bool timed_lock(boost::xtime const& timeout) in timed_lock() function
213 return timed_lock(boost::system_time(timeout)); in timed_lock()
/third_party/boost/libs/thread/test/
Dtest_shared_mutex_timed_locks.cpp137 bool timed_lock_succeeded=rw_mutex.timed_lock(timeout); in BOOST_AUTO_TEST_CASE()
147 timed_lock_succeeded=rw_mutex.timed_lock(wait_duration); in BOOST_AUTO_TEST_CASE()
168 bool timed_lock_succeeded=rw_mutex.timed_lock(timeout); in BOOST_AUTO_TEST_CASE()
178 timed_lock_succeeded=rw_mutex.timed_lock(wait_duration); in BOOST_AUTO_TEST_CASE()
202 bool timed_lock_succeeded=rw_mutex.timed_lock(timeout); in BOOST_AUTO_TEST_CASE()
212 timed_lock_succeeded=rw_mutex.timed_lock(wait_duration); in BOOST_AUTO_TEST_CASE()
237 bool timed_lock_succeeded=rw_mutex.timed_lock(timeout); in BOOST_AUTO_TEST_CASE()
Dtest_mutex.cpp124 lock.timed_lock(boost::posix_time::milliseconds(50)); in locking_thread()
240 BOOST_CHECK(lock.timed_lock(target)); in operator ()()
245 BOOST_CHECK(mutex.timed_lock(boost::posix_time::milliseconds(100))); in operator ()()
248 BOOST_CHECK(lock.timed_lock(boost::posix_time::milliseconds(100))); in operator ()()
/third_party/boost/boost/interprocess/sync/
Dinterprocess_recursive_mutex.hpp117 bool timed_lock(const boost::posix_time::ptime &abs_time);
160 inline bool interprocess_recursive_mutex::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::interprocess_recursive_mutex
161 { return mutex.timed_lock(abs_time); } in timed_lock()
Dinterprocess_mutex.hpp130 bool timed_lock(const boost::posix_time::ptime &abs_time);
165 inline bool interprocess_mutex::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::interprocess_mutex
166 { return m_mutex.timed_lock(abs_time); } in timed_lock()
Dnamed_recursive_mutex.hpp98 bool timed_lock(const boost::posix_time::ptime &abs_time);
149 inline bool named_recursive_mutex::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::named_recursive_mutex
150 { return m_mut.timed_lock(abs_time); } in timed_lock()
Dnamed_mutex.hpp104 bool timed_lock(const boost::posix_time::ptime &abs_time);
162 inline bool named_mutex::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::named_mutex
163 { return m_mut.timed_lock(abs_time); } in timed_lock()
Dnamed_sharable_mutex.hpp104 bool timed_lock(const boost::posix_time::ptime &abs_time);
207 inline bool named_sharable_mutex::timed_lock in timed_lock() function in boost::interprocess::named_sharable_mutex
209 { return this->mutex()->timed_lock(abs_time); } in timed_lock()
Dnamed_upgradable_mutex.hpp105 bool timed_lock(const boost::posix_time::ptime &abs_time);
298 inline bool named_upgradable_mutex::timed_lock in timed_lock() function in boost::interprocess::named_upgradable_mutex
300 { return this->mutex()->timed_lock(abs_time); } in timed_lock()
Dscoped_lock.hpp118 : mp_mutex(&m), m_locked(mp_mutex->timed_lock(abs_time)) in scoped_lock()
310 bool timed_lock(const boost::posix_time::ptime& abs_time) in timed_lock() function in boost::interprocess::scoped_lock
314 m_locked = mp_mutex->timed_lock(abs_time); in timed_lock()
Dfile_lock.hpp112 bool timed_lock(const boost::posix_time::ptime &abs_time);
189 inline bool file_lock::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::file_lock
/third_party/boost/boost/interprocess/sync/windows/
Dmutex.hpp47 bool timed_lock(const boost::posix_time::ptime &abs_time);
94 inline bool windows_mutex::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::ipcdetail::windows_mutex
100 return mut.timed_lock(abs_time); in timed_lock()
Dnamed_mutex.hpp62 bool timed_lock(const boost::posix_time::ptime &abs_time);
163 inline bool windows_named_mutex::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::ipcdetail::windows_named_mutex
165 return m_mtx_wrapper.timed_lock(abs_time); in timed_lock()
/third_party/boost/boost/interprocess/sync/shm/
Dnamed_recursive_mutex.hpp95 bool timed_lock(const boost::posix_time::ptime &abs_time);
159 inline bool shm_named_recursive_mutex::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::ipcdetail::shm_named_recursive_mutex
160 { return this->mutex()->timed_lock(abs_time); } in timed_lock()
Dnamed_mutex.hpp100 bool timed_lock(const boost::posix_time::ptime &abs_time);
167 inline bool shm_named_mutex::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::ipcdetail::shm_named_mutex
168 { return this->internal_mutex().timed_lock(abs_time); } in timed_lock()
Dnamed_upgradable_mutex.hpp105 bool timed_lock(const boost::posix_time::ptime &abs_time);
292 inline bool named_upgradable_mutex::timed_lock in timed_lock() function in boost::interprocess::named_upgradable_mutex
294 { return this->mutex()->timed_lock(abs_time); } in timed_lock()
/third_party/boost/boost/log/sources/
Dthreading_models.hpp50 bool timed_lock(TimeT const&) const BOOST_NOEXCEPT { return true; } in timed_lock() function
91 bool timed_lock(TimeT const& t) const { return m_Mutex.timed_lock(t); } in timed_lock() function
/third_party/boost/boost/thread/pthread/
Dmutex.hpp136 bool timed_lock(TimeDuration const & relative_time) in timed_lock() function in boost::timed_mutex
162 bool timed_lock(boost::xtime const & absolute_time) in timed_lock() function in boost::timed_mutex
164 return timed_lock(system_time(absolute_time)); in timed_lock()
256 bool timed_lock(system_time const & abs_time) in timed_lock() function in boost::timed_mutex
/third_party/boost/boost/interprocess/sync/posix/
Drecursive_mutex.hpp68 bool timed_lock(const boost::posix_time::ptime &abs_time);
102 inline bool posix_recursive_mutex::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::ipcdetail::posix_recursive_mutex
Dmutex.hpp72 bool timed_lock(const boost::posix_time::ptime &abs_time);
108 inline bool posix_mutex::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::ipcdetail::posix_mutex
Dnamed_mutex.hpp59 bool timed_lock(const boost::posix_time::ptime &abs_time);
100 inline bool posix_named_mutex::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() function in boost::interprocess::ipcdetail::posix_named_mutex
/third_party/boost/boost/thread/
Dlock_types.hpp146 timed_lock(target_time); in unique_lock()
151 timed_lock(target_time); in unique_lock()
366 bool timed_lock(TimeDuration const& relative_time) in timed_lock() function in boost::unique_lock
376 is_locked=m->timed_lock(relative_time); in timed_lock()
380 bool timed_lock(::boost::system_time const& absolute_time) in timed_lock() function in boost::unique_lock
390 is_locked=m->timed_lock(absolute_time); in timed_lock()
393 bool timed_lock(::boost::xtime const& absolute_time) in timed_lock() function in boost::unique_lock
403 is_locked=m->timed_lock(absolute_time); in timed_lock()
541 timed_lock(target_time); in shared_lock()
662 bool timed_lock(boost::system_time const& target_time) in timed_lock() function in boost::shared_lock
[all …]

123