Home
last modified time | relevance | path

Searched refs:abs_time (Results 1 – 25 of 109) sorted by relevance

12345

/third_party/boost/boost/thread/
Dpoly_shared_lockable_adapter.hpp40 bool try_lock_shared_until(chrono::system_clock::time_point const & abs_time) in try_lock_shared_until() argument
42 return this->mtx().try_lock_shared_until(abs_time); in try_lock_shared_until()
44 bool try_lock_shared_until(chrono::steady_clock::time_point const & abs_time) in try_lock_shared_until() argument
46 return this->mtx().try_lock_shared_until(abs_time); in try_lock_shared_until()
79 bool try_lock_upgrade_until(chrono::system_clock::time_point const & abs_time) in try_lock_upgrade_until() argument
81 return this->mtx().try_lock_upgrade_until(abs_time); in try_lock_upgrade_until()
83 bool try_lock_upgrade_until(chrono::steady_clock::time_point const & abs_time) in try_lock_upgrade_until() argument
85 return this->mtx().try_lock_upgrade_until(abs_time); in try_lock_upgrade_until()
97 bool try_unlock_shared_and_lock_until(chrono::system_clock::time_point const & abs_time) in try_unlock_shared_and_lock_until() argument
99 return this->mtx().try_unlock_shared_and_lock_until(abs_time); in try_unlock_shared_and_lock_until()
[all …]
Dpoly_shared_lockable.hpp31 virtual bool try_lock_shared_until(chrono::system_clock::time_point const & abs_time)=0;
32 virtual bool try_lock_shared_until(chrono::steady_clock::time_point const & abs_time)=0;
34 bool try_lock_shared_until(chrono::time_point<Clock, Duration> const & abs_time) in try_lock_shared_until() argument
36 return try_lock_shared_until(chrono::time_point_cast<Clock::time_point>(abs_time)); in try_lock_shared_until()
62 virtual bool try_lock_upgrade_until(chrono::system_clock::time_point const & abs_time)=0;
63 virtual bool try_lock_upgrade_until(chrono::steady_clock::time_point const & abs_time)=0;
65 bool try_lock_upgrade_until(chrono::time_point<Clock, Duration> const & abs_time) in try_lock_upgrade_until() argument
67 return try_lock_upgrade_until(chrono::time_point_cast<Clock::time_point>(abs_time)); in try_lock_upgrade_until()
79 …virtual bool try_unlock_shared_and_lock_until(chrono::system_clock::time_point const & abs_time)=0;
80 …virtual bool try_unlock_shared_and_lock_until(chrono::steady_clock::time_point const & abs_time)=0;
[all …]
Dlockable_adapter.hpp74 bool try_lock_until(chrono::time_point<Clock, Duration> const & abs_time) const in try_lock_until()
76 return this->lockable().try_lock_until(abs_time); in try_lock_until()
108 bool try_lock_shared_until(chrono::time_point<Clock, Duration> const & abs_time) const in try_lock_shared_until()
110 return this->lockable().try_lock_shared_until(abs_time); in try_lock_shared_until()
145 bool try_lock_upgrade_until(chrono::time_point<Clock, Duration> const & abs_time) const in try_lock_upgrade_until()
147 return this->lockable().try_lock_upgrade_until(abs_time); in try_lock_upgrade_until()
161 … bool try_unlock_shared_and_lock_until(chrono::time_point<Clock, Duration> const & abs_time) const in try_unlock_shared_and_lock_until()
163 return this->lockable().try_unlock_shared_and_lock_until(abs_time); in try_unlock_shared_and_lock_until()
182 …ry_unlock_shared_and_lock_upgrade_until(chrono::time_point<Clock, Duration> const & abs_time) const in try_unlock_shared_and_lock_upgrade_until()
184 return this->lockable().try_unlock_shared_and_lock_upgrade_until(abs_time); in try_unlock_shared_and_lock_upgrade_until()
[all …]
Dpoly_lockable.hpp52 virtual bool try_lock_until(chrono::system_clock::time_point const & abs_time)=0;
53 virtual bool try_lock_until(chrono::steady_clock::time_point const & abs_time)=0;
55 bool try_lock_until(chrono::time_point<Clock, Duration> const & abs_time) in try_lock_until() argument
57 return try_lock_until(chrono::time_point_cast<Clock::time_point>(abs_time)); in try_lock_until()
Dpoly_lockable_adapter.hpp72 bool try_lock_until(chrono::system_clock::time_point const & abs_time) in try_lock_until() argument
74 return this->mtx().try_lock_until(abs_time); in try_lock_until()
76 bool try_lock_until(chrono::steady_clock::time_point const & abs_time) in try_lock_until() argument
78 return this->mtx().try_lock_until(abs_time); in try_lock_until()
/third_party/boost/boost/interprocess/sync/spin/
Dcondition.hpp50 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() argument
55 if(abs_time.is_pos_infinity()){ in timed_wait()
59 return this->do_timed_wait(abs_time, *lock.mutex()); in timed_wait()
63 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() argument
68 if(abs_time.is_pos_infinity()){ in timed_wait()
73 if (!this->do_timed_wait(abs_time, *lock.mutex())) in timed_wait()
101 bool do_timed_wait(const boost::posix_time::ptime &abs_time, InterprocessMutex &mut);
105 …bool do_timed_wait(bool tout_enabled, const boost::posix_time::ptime &abs_time, InterprocessMutex …
171 (const boost::posix_time::ptime &abs_time, InterprocessMutex &mut) in do_timed_wait() argument
173 return this->do_timed_wait(true, abs_time, mut); in do_timed_wait()
[all …]
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()
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() argument
96 { return ipcdetail::try_based_timed_lock(*this, abs_time); } in timed_lock()
/third_party/boost/boost/interprocess/sync/
Dnamed_upgradable_mutex.hpp105 bool timed_lock(const boost::posix_time::ptime &abs_time);
133 bool timed_lock_sharable(const boost::posix_time::ptime &abs_time);
161 bool timed_lock_upgradable(const boost::posix_time::ptime &abs_time);
212 bool timed_unlock_upgradable_and_lock(const boost::posix_time::ptime &abs_time);
299 (const boost::posix_time::ptime &abs_time) in timed_lock() argument
300 { return this->mutex()->timed_lock(abs_time); } in timed_lock()
312 (const boost::posix_time::ptime &abs_time) in timed_lock_upgradable() argument
313 { return this->mutex()->timed_lock_upgradable(abs_time); } in timed_lock_upgradable()
325 (const boost::posix_time::ptime &abs_time) in timed_lock_sharable() argument
326 { return this->mutex()->timed_lock_sharable(abs_time); } in timed_lock_sharable()
[all …]
Dinterprocess_upgradable_mutex.hpp79 bool timed_lock(const boost::posix_time::ptime &abs_time);
107 bool timed_lock_sharable(const boost::posix_time::ptime &abs_time);
135 bool timed_lock_upgradable(const boost::posix_time::ptime &abs_time);
186 bool timed_unlock_upgradable_and_lock(const boost::posix_time::ptime &abs_time);
330 (const boost::posix_time::ptime &abs_time) in timed_lock() argument
334 scoped_lock_t lck(m_mut, abs_time); in timed_lock()
340 if(!this->m_first_gate.timed_wait(lck, abs_time)){ in timed_lock()
356 if(!this->m_second_gate.timed_wait(lck, abs_time)){ in timed_lock()
416 (const boost::posix_time::ptime &abs_time) in timed_lock_upgradable() argument
420 scoped_lock_t lck(m_mut, abs_time); in timed_lock_upgradable()
[all …]
Dinterprocess_sharable_mutex.hpp81 bool timed_lock(const boost::posix_time::ptime &abs_time);
109 bool timed_lock_sharable(const boost::posix_time::ptime &abs_time);
218 (const boost::posix_time::ptime &abs_time) in timed_lock() argument
220 scoped_lock_t lck(m_mut, abs_time); in timed_lock()
228 if(!this->m_first_gate.timed_wait(lck, abs_time)){ in timed_lock()
246 if(!this->m_second_gate.timed_wait(lck, abs_time)){ in timed_lock()
301 (const boost::posix_time::ptime &abs_time) in timed_lock_sharable() argument
303 scoped_lock_t lck(m_mut, abs_time); in timed_lock_sharable()
313 if(!this->m_first_gate.timed_wait(lck, abs_time)){ in timed_lock_sharable()
Dnamed_sharable_mutex.hpp104 bool timed_lock(const boost::posix_time::ptime &abs_time);
132 bool timed_lock_sharable(const boost::posix_time::ptime &abs_time);
208 (const boost::posix_time::ptime &abs_time) in timed_lock() argument
209 { return this->mutex()->timed_lock(abs_time); } in timed_lock()
221 (const boost::posix_time::ptime &abs_time) in timed_lock_sharable() argument
222 { return this->mutex()->timed_lock_sharable(abs_time); } in timed_lock_sharable()
Dfile_lock.hpp112 bool timed_lock(const boost::posix_time::ptime &abs_time);
140 bool timed_lock_sharable(const boost::posix_time::ptime &abs_time);
189 inline bool file_lock::timed_lock(const boost::posix_time::ptime &abs_time) in timed_lock() argument
190 { return ipcdetail::try_based_timed_lock(*this, abs_time); } in timed_lock()
218 inline bool file_lock::timed_lock_sharable(const boost::posix_time::ptime &abs_time) in timed_lock_sharable() argument
221 return ipcdetail::try_based_timed_lock(lsh, abs_time); in timed_lock_sharable()
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);
175 (L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() argument
178 return m_cond.timed_wait(internal_lock, abs_time); in timed_wait()
183 (L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() argument
186 return m_cond.timed_wait(internal_lock, abs_time, pred); in timed_wait()
/third_party/boost/boost/interprocess/sync/shm/
Dnamed_upgradable_mutex.hpp105 bool timed_lock(const boost::posix_time::ptime &abs_time);
133 bool timed_lock_sharable(const boost::posix_time::ptime &abs_time);
161 bool timed_lock_upgradable(const boost::posix_time::ptime &abs_time);
212 bool timed_unlock_upgradable_and_lock(const boost::posix_time::ptime &abs_time);
293 (const boost::posix_time::ptime &abs_time) in timed_lock() argument
294 { return this->mutex()->timed_lock(abs_time); } in timed_lock()
306 (const boost::posix_time::ptime &abs_time) in timed_lock_upgradable() argument
307 { return this->mutex()->timed_lock_upgradable(abs_time); } in timed_lock_upgradable()
319 (const boost::posix_time::ptime &abs_time) in timed_lock_sharable() argument
320 { return this->mutex()->timed_lock_sharable(abs_time); } in timed_lock_sharable()
[all …]
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);
220 (L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() argument
221 { return this->internal_cond().timed_wait(lock, abs_time); } in timed_wait()
225 (L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() argument
226 { return this->internal_cond().timed_wait(lock, abs_time, pred); } in timed_wait()
/third_party/boost/boost/interprocess/sync/posix/
Dcondition.hpp88 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() argument
93 if(abs_time.is_pos_infinity()){ in timed_wait()
97 return this->do_timed_wait(abs_time, *lock.mutex()); in timed_wait()
104 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() argument
109 if(abs_time.is_pos_infinity()){ in timed_wait()
114 if (!this->do_timed_wait(abs_time, *lock.mutex())) in timed_wait()
123 bool do_timed_wait(const boost::posix_time::ptime &abs_time, posix_mutex &mut);
179 (const boost::posix_time::ptime &abs_time, posix_mutex &mut) in do_timed_wait() argument
181 timespec ts = ptime_to_timespec(abs_time); in do_timed_wait()
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() argument
106 if(abs_time.is_pos_infinity()){ in timed_lock()
111 timespec ts = ptime_to_timespec(abs_time); in timed_lock()
119 return ipcdetail::try_based_timed_lock(*this, abs_time); in timed_lock()
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() argument
112 if(abs_time.is_pos_infinity()){ in timed_lock()
116 timespec ts = ptime_to_timespec(abs_time); in timed_lock()
124 return ipcdetail::try_based_timed_lock(*this, abs_time); in timed_lock()
/third_party/boost/boost/interprocess/sync/detail/
Dcondition_any_algorithm.hpp75 …ool do_timed_wait(ConditionAnyMembers &data, Lock& lock, const boost::posix_time::ptime &abs_time);
80 , bool timeout_enabled, const boost::posix_time::ptime &abs_time);
102 , const boost::posix_time::ptime &abs_time) in wait() argument
105 return condition_any_algorithm::do_timed_wait(data, lock, abs_time); in wait()
134 (ConditionAnyMembers &data, Lock& lock, const boost::posix_time::ptime &abs_time) in do_timed_wait() argument
145 return data.get_condvar().timed_wait(internal_unlock, abs_time); in do_timed_wait()
198 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() argument
202 return algo_type::wait(m_data, lock, true, abs_time); in timed_wait()
206 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() argument
211 if (!algo_type::wait(m_data, lock, true, abs_time)) in timed_wait()
Dcondition_algorithm_8a.hpp198 , bool timeout_enabled, const boost::posix_time::ptime &abs_time);
255 , const boost::posix_time::ptime &abs_time in wait() argument
271 ? !data.get_sem_block_queue().timed_wait(abs_time) in wait()
369 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time) in timed_wait() argument
373 return algo_type::wait(m_data, lock, true, abs_time); in timed_wait()
377 bool timed_wait(L& lock, const boost::posix_time::ptime &abs_time, Pr pred) in timed_wait() argument
382 if (!algo_type::wait(m_data, lock, true, abs_time)) in timed_wait()
/third_party/boost/boost/thread/v2/
Dshared_mutex.hpp234 const boost::chrono::time_point<Clock, Duration>& abs_time);
254 const boost::chrono::time_point<Clock, Duration>& abs_time);
297 const boost::chrono::time_point<Clock, Duration>& abs_time) in try_lock_until() argument
300 if (!gate1_.wait_until(lk, abs_time, boost::bind( in try_lock_until()
306 if (!gate2_.wait_until(lk, abs_time, boost::bind( in try_lock_until()
375 const boost::chrono::time_point<Clock, Duration>& abs_time) in try_lock_shared_until() argument
378 if (!gate1_.wait_until(lk, abs_time, boost::bind( in try_lock_shared_until()
534 const boost::chrono::time_point<Clock, Duration>& abs_time);
554 const boost::chrono::time_point<Clock, Duration>& abs_time);
575 const boost::chrono::time_point<Clock, Duration>& abs_time);
[all …]
/third_party/boost/libs/thread/doc/
Dshared_mutex_ref.qbk26 bool try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time);
34 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
83 bool try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time);
91 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
98 bool try_lock_upgrade_until(const chrono::time_point<Clock, Duration>& abs_time);
108 bool try_unlock_shared_and_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
119 …bool try_unlock_shared_and_lock_upgrade_until(const chrono::time_point<Clock, Duration>& abs_time);
132 bool try_unlock_upgrade_and_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
165 bool try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time);
175 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
[all …]
/third_party/boost/boost/thread/pthread/
Dcondition_variable_fwd.hpp100 boost::system_time const& abs_time) in timed_wait() argument
103 const detail::real_platform_timepoint ts(abs_time + BOOST_THREAD_WAIT_BUG); in timed_wait()
105 const detail::real_platform_timepoint ts(abs_time); in timed_wait()
124 ::boost::xtime const& abs_time) in timed_wait() argument
126 return timed_wait(m,system_time(abs_time)); in timed_wait()
163 boost::system_time const& abs_time,predicate_type pred) in timed_wait() argument
166 const detail::real_platform_timepoint ts(abs_time + BOOST_THREAD_WAIT_BUG); in timed_wait()
168 const detail::real_platform_timepoint ts(abs_time); in timed_wait()
190 ::boost::xtime const& abs_time,predicate_type pred) in timed_wait() argument
192 return timed_wait(m,system_time(abs_time),pred); in timed_wait()
/third_party/boost/boost/interprocess/sync/windows/
Dwinapi_wrapper_common.hpp53 …winapi_wrapper_timed_wait_for_single_object(void *handle, const boost::posix_time::ptime &abs_time) in winapi_wrapper_timed_wait_for_single_object() argument
58 if (abs_time.is_pos_infinity()){ in winapi_wrapper_timed_wait_for_single_object()
63 if(abs_time > cur_time){ in winapi_wrapper_timed_wait_for_single_object()
64 time = (abs_time - cur_time).total_milliseconds(); in winapi_wrapper_timed_wait_for_single_object()
/third_party/mesa3d/src/util/
Dcnd_monotonic.h110 u_cnd_monotonic_timedwait(struct u_cnd_monotonic *cond, mtx_t *mtx, const struct timespec *abs_time) in u_cnd_monotonic_timedwait() argument
114 assert(abs_time != NULL); in u_cnd_monotonic_timedwait()
117 const uint64_t future = (abs_time->tv_sec * 1000) + (abs_time->tv_nsec / 1000000); in u_cnd_monotonic_timedwait()
124 int rt = pthread_cond_timedwait(&cond->cond, mtx, abs_time); in u_cnd_monotonic_timedwait()

12345