Home
last modified time | relevance | path

Searched refs:timed_wait (Results 1 – 25 of 71) sorted by relevance

123

/third_party/boost/boost/interprocess/sync/
Dnamed_condition.hpp109 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time);
115 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred);
174 inline bool named_condition::timed_wait in timed_wait() function in boost::interprocess::named_condition
178 return m_cond.timed_wait(internal_lock, abs_time); in timed_wait()
182 inline bool named_condition::timed_wait in timed_wait() function in boost::interprocess::named_condition
186 return m_cond.timed_wait(internal_lock, abs_time, pred); in timed_wait()
Dinterprocess_condition_any.hpp121 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() function in boost::interprocess::interprocess_condition_any
122 { return m_cond.timed_wait(lock, abs_time); } in timed_wait()
128 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() function in boost::interprocess::interprocess_condition_any
129 { return m_cond.timed_wait(lock, abs_time, pred); } in timed_wait()
Dnamed_condition_any.hpp120 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() function in boost::interprocess::named_condition_any
121 { return m_cond.timed_wait(lock, abs_time); } in timed_wait()
127 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() function in boost::interprocess::named_condition_any
128 { return m_cond.timed_wait(lock, abs_time, pred); } in timed_wait()
Dinterprocess_condition.hpp125 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() function in boost::interprocess::interprocess_condition
128 return m_condition.timed_wait(internal_lock, abs_time); in timed_wait()
135 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() function in boost::interprocess::interprocess_condition
138 return m_condition.timed_wait(internal_lock, abs_time, pred); in timed_wait()
Dinterprocess_semaphore.hpp92 bool timed_wait(const boost::posix_time::ptime &abs_time);
133 inline bool interprocess_semaphore::timed_wait(const boost::posix_time::ptime &abs_time) in timed_wait() function in boost::interprocess::interprocess_semaphore
134 { return m_sem.timed_wait(abs_time); } in timed_wait()
Dnamed_semaphore.hpp105 bool timed_wait(const boost::posix_time::ptime &abs_time);
159 inline bool named_semaphore::timed_wait(const boost::posix_time::ptime &abs_time) in timed_wait() function in boost::interprocess::named_semaphore
160 { return m_sem.timed_wait(abs_time); } in timed_wait()
/third_party/boost/libs/thread/test/
Dtest_condition_timed_wait_times_out.cpp38 while(cond.timed_wait(lock,timeout)) {} in do_test_timed_wait_times_out()
54 bool const res=cond.timed_wait(lock,timeout,fake_predicate); in do_test_timed_wait_with_predicate_times_out()
70 bool const res=cond.timed_wait(lock,delay,fake_predicate); in do_test_relative_timed_wait_with_predicate_times_out()
86 while(cond.timed_wait(lock,delay)) {} in do_test_timed_wait_relative_times_out()
102 while(cond.timed_wait(lock,timeout)) {} in do_test_cv_any_timed_wait_times_out()
118 bool const res=cond.timed_wait(lock,timeout,fake_predicate); in do_test_cv_any_timed_wait_with_predicate_times_out()
134 bool const res=cond.timed_wait(lock,delay,fake_predicate); in do_test_cv_any_relative_timed_wait_with_predicate_times_out()
150 while(cond.timed_wait(lock,delay)) {} in do_test_cv_any_timed_wait_relative_times_out()
Dtest_xtime.cpp93 …cond.timed_wait(lk,boost::get_xtime(boost::get_system_time()+boost::posix_time::milliseconds(10))); in BOOST_AUTO_TEST_CASE()
94 …cond.timed_wait(lk,boost::get_xtime(boost::get_system_time()+boost::posix_time::milliseconds(10)),… in BOOST_AUTO_TEST_CASE()
95 …cond_any.timed_wait(lk,boost::get_xtime(boost::get_system_time()+boost::posix_time::milliseconds(1… in BOOST_AUTO_TEST_CASE()
96 …cond_any.timed_wait(lk,boost::get_xtime(boost::get_system_time()+boost::posix_time::milliseconds(1… in BOOST_AUTO_TEST_CASE()
Dcondition_test_common.hpp69 if(!cond_var.timed_wait(lock,timeout)) in timed_wait_without_predicate()
81 if(cond_var.timed_wait(lock,timeout,check_flag(flag)) && flag) in timed_wait_with_predicate()
89 … if(cond_var.timed_wait(lock,boost::posix_time::seconds(timeout_seconds),check_flag(flag)) && flag) in relative_timed_wait_with_predicate()
/third_party/boost/boost/interprocess/sync/shm/
Dnamed_condition.hpp117 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time);
123 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred);
219 inline bool shm_named_condition::timed_wait in timed_wait() function in boost::interprocess::ipcdetail::shm_named_condition
221 { return this->internal_cond().timed_wait(lock, abs_time); } in timed_wait()
224 inline bool shm_named_condition::timed_wait in timed_wait() function in boost::interprocess::ipcdetail::shm_named_condition
226 { return this->internal_cond().timed_wait(lock, abs_time, pred); } in timed_wait()
Dnamed_condition_any.hpp141 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() function in boost::interprocess::ipcdetail::shm_named_condition_any
142 { return this->internal_cond().timed_wait(lock, abs_time); } in timed_wait()
148 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() function in boost::interprocess::ipcdetail::shm_named_condition_any
149 { return this->internal_cond().timed_wait(lock, abs_time, pred); } in timed_wait()
Dnamed_semaphore.hpp60 bool timed_wait(const boost::posix_time::ptime &abs_time);
126 inline bool shm_named_semaphore::timed_wait(const boost::posix_time::ptime &abs_time) in timed_wait() function in boost::interprocess::ipcdetail::shm_named_semaphore
127 { return semaphore()->timed_wait(abs_time); } in timed_wait()
/third_party/boost/boost/thread/win32/
Dcondition_variable.hpp350 bool timed_wait(unique_lock<mutex>& m,boost::system_time const& abs_time) in timed_wait() function in boost::condition_variable
364 bool timed_wait(unique_lock<mutex>& m,boost::xtime const& abs_time) in timed_wait() function in boost::condition_variable
366 return timed_wait(m, system_time(abs_time)); in timed_wait()
369 bool timed_wait(unique_lock<mutex>& m,duration_type const& wait_duration) in timed_wait() function in boost::condition_variable
385 … bool timed_wait(unique_lock<mutex>& m,boost::system_time const& abs_time,predicate_type pred) in timed_wait() function in boost::condition_variable
401 bool timed_wait(unique_lock<mutex>& m,boost::xtime const& abs_time,predicate_type pred) in timed_wait() function in boost::condition_variable
403 return timed_wait(m, system_time(abs_time), pred); in timed_wait()
406 … bool timed_wait(unique_lock<mutex>& m,duration_type const& wait_duration,predicate_type pred) in timed_wait() function in boost::condition_variable
547 bool timed_wait(lock_type& m,boost::system_time const& abs_time) in timed_wait() function in boost::condition_variable_any
563 bool timed_wait(lock_type& m,boost::xtime const& abs_time) in timed_wait() function in boost::condition_variable_any
[all …]
/third_party/boost/boost/thread/pthread/
Dcondition_variable_fwd.hpp98 bool timed_wait( in timed_wait() function in boost::condition_variable
122 bool timed_wait( in timed_wait() function in boost::condition_variable
126 return timed_wait(m,system_time(abs_time)); in timed_wait()
130 bool timed_wait( in timed_wait() function in boost::condition_variable
161 bool timed_wait( in timed_wait() function in boost::condition_variable
188 bool timed_wait( in timed_wait() function in boost::condition_variable
192 return timed_wait(m,system_time(abs_time),pred); in timed_wait()
196 bool timed_wait( in timed_wait() function in boost::condition_variable
Dcondition_variable.hpp223 bool timed_wait(lock_type& m,boost::system_time const& abs_time) in timed_wait() function in boost::condition_variable_any
246 bool timed_wait(lock_type& m,::boost::xtime const& abs_time) in timed_wait() function in boost::condition_variable_any
248 return timed_wait(m,system_time(abs_time)); in timed_wait()
252 bool timed_wait(lock_type& m,duration_type const& wait_duration) in timed_wait() function in boost::condition_variable_any
281 bool timed_wait(lock_type& m,boost::system_time const& abs_time, predicate_type pred) in timed_wait() function in boost::condition_variable_any
306 bool timed_wait(lock_type& m,::boost::xtime const& abs_time, predicate_type pred) in timed_wait() function in boost::condition_variable_any
308 return timed_wait(m,system_time(abs_time),pred); in timed_wait()
312 bool timed_wait(lock_type& m,duration_type const& wait_duration,predicate_type pred) in timed_wait() function in boost::condition_variable_any
/third_party/boost/boost/interprocess/sync/windows/
Dcondition.hpp62 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() function in boost::interprocess::ipcdetail::windows_condition
63 { return m_condition_data.timed_wait(lock, abs_time); } in timed_wait()
66 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() function in boost::interprocess::ipcdetail::windows_condition
67 { return m_condition_data.timed_wait(lock, abs_time, pred); } in timed_wait()
Dsemaphore.hpp49 bool timed_wait(const boost::posix_time::ptime &abs_time);
94 inline bool windows_semaphore::timed_wait(const boost::posix_time::ptime &abs_time) in timed_wait() function in boost::interprocess::ipcdetail::windows_semaphore
100 return sem.timed_wait(abs_time); in timed_wait()
Dnamed_condition_any.hpp83 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() function in boost::interprocess::ipcdetail::windows_named_condition_any
84 { return m_condition_data.timed_wait(lock, abs_time); } in timed_wait()
87 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() function in boost::interprocess::ipcdetail::windows_named_condition_any
88 { return m_condition_data.timed_wait(lock, abs_time, pred); } in timed_wait()
Dnamed_semaphore.hpp59 bool timed_wait(const boost::posix_time::ptime &abs_time);
166 inline bool windows_named_semaphore::timed_wait(const boost::posix_time::ptime &abs_time) in timed_wait() function in boost::interprocess::ipcdetail::windows_named_semaphore
168 return m_sem_wrapper.timed_wait(abs_time); in timed_wait()
/third_party/boost/libs/thread/doc/
Dcondition_variables.qbk135 … bool timed_wait(boost::unique_lock<boost::mutex>& lock,boost::system_time const& abs_time);
137 bool timed_wait(boost::unique_lock<boost::mutex>& lock,duration_type const& rel_time);
139 …bool timed_wait(boost::unique_lock<boost::mutex>& lock,boost::system_time const& abs_time,predicat…
141 …bool timed_wait(boost::unique_lock<boost::mutex>& lock,duration_type const& rel_time,predicate_typ…
142 bool timed_wait(boost::unique_lock<boost::mutex>& lock,boost::xtime const& abs_time);
145 …bool timed_wait(boost::unique_lock<boost::mutex>& lock,boost::xtime const& abs_time,predicate_type…
169 `timed_wait` need not have returned).]]
184 to `wait` or `timed_wait`, unblocks one of those threads.]]
197 to `wait` or `timed_wait`, unblocks all of those threads.]]
211 function on the `lock` objects supplied in the calls to `wait` or `timed_wait`
[all …]
/third_party/boost/libs/signals2/test/
Dmutex_test.cpp55 if (!cond.timed_wait(lock, timeout)) in wait()
130 BOOST_CHECK(!condition.timed_wait(lock, timeout)); in operator ()()
170 BOOST_CHECK(!condition.timed_wait(lock, timeout)); in operator ()()
234 BOOST_CHECK(!done_cond.timed_wait(lk, boost::posix_time::seconds(1), in do_test()
240 BOOST_CHECK(done_cond.timed_wait(lk, boost::posix_time::seconds(1), in do_test()
/third_party/boost/libs/interprocess/test/
Dnamed_condition_test.cpp73 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() function in named_condition_test_wrapper
76 return named_condition::timed_wait(internal_lock, abs_time); in timed_wait()
80 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() function in named_condition_test_wrapper
83 return named_condition::timed_wait(internal_lock, abs_time, pred); in timed_wait()
Dnamed_condition_any_test.cpp73 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() function in named_condition_any_test_wrapper
76 return named_condition_any::timed_wait(internal_lock, abs_time); in timed_wait()
80 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() function in named_condition_any_test_wrapper
83 return named_condition_any::timed_wait(internal_lock, abs_time, pred); in timed_wait()
/third_party/boost/libs/thread/test/sync/conditions/condition_variable/
Dlost_notif_pass.cpp96 cv.timed_wait(lk, boost::posix_time::microsec_clock::universal_time() + posix_wait_time); in timed_wait_absolute_without_pred()
104 …cv.timed_wait(lk, boost::posix_time::microsec_clock::universal_time() + posix_wait_time, flagIsSet… in timed_wait_absolute_with_pred()
115 cv.timed_wait(lk, posix_wait_time); in timed_wait_relative_without_pred()
123 cv.timed_wait(lk, posix_wait_time, flagIsSet); in timed_wait_relative_with_pred()
/third_party/boost/libs/thread/test/sync/conditions/condition_variable_any/
Dlost_notif_pass.cpp96 cv.timed_wait(lk, boost::posix_time::microsec_clock::universal_time() + posix_wait_time); in timed_wait_absolute_without_pred()
104 …cv.timed_wait(lk, boost::posix_time::microsec_clock::universal_time() + posix_wait_time, flagIsSet… in timed_wait_absolute_with_pred()
115 cv.timed_wait(lk, posix_wait_time); in timed_wait_relative_without_pred()
123 cv.timed_wait(lk, posix_wait_time, flagIsSet); in timed_wait_relative_with_pred()

123