1 #ifndef OPENDDS_DCPS_CONDITIONVARIABLE_H 2 #define OPENDDS_DCPS_CONDITIONVARIABLE_H 14 #ifndef ACE_LACKS_PRAGMA_ONCE 44 template <
typename Mutex>
69 return wait(thread_status_manager);
74 }
else if (errno ==
ETIME) {
87 return wait(thread_status_manager);
126 #endif // OPENDDS_DCPS_CONDITIONVARIABLE_H
ACE_Condition< Mutex > impl_
bool notify_one()
Unblock one of the threads waiting on this condition.
static TimePoint_T< MonotonicClock > now()
int wait(const ACE_Time_Value *abstime)
bool notify_all()
Unblock all of the threads waiting on this condition.
The wait has returned because of a timeout.
CvStatus wait_for(const TimeDuration &expire_in, ThreadStatusManager &thread_status_manager)
Block until woken up or for expire_in. Same as wait() if expire_in is zero.
CvStatus wait(ThreadStatusManager &thread_status_manager)
Block until thread is woken up.
OpenDDS_Dcps_Export unsigned int DCPS_debug_level
CvStatus wait_until(const MonotonicTimePoint &expire_at, ThreadStatusManager &thread_status_manager)
Block until woken up or until expire_at. Same as wait() if expire_at is zero.
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The wait has returned because it was woken up.
ConditionVariable(Mutex &mutex)
const ACE_Time_Value_T< AceClock > & value() const
The Internal API and Implementation of OpenDDS.