51 if (wait_time_left > m_period)
54 next_execution_time = now +
m_period;
60 while (wait_time_left > zero_time_span)
62 wait_time = wait_time_left.
timespec();
Contains icl_core::thread::PeriodicThread.
Represents absolute times.
virtual bool setPeriod(const icl_core::TimeSpan &period)
virtual void waitPeriod()
PeriodicThreadImplEmulate(const icl_core::TimeSpan &period)
struct timespec timespec() const
Repesents absolute times.
int nanosleep(const struct timespec *rqtp, struct timespec *rmtp=0)
icl_core::TimeStamp m_last_execution_time
virtual icl_core::TimeSpan period() const
virtual ~PeriodicThreadImplEmulate()
icl_core::TimeSpan m_period