Re: [Boost-bugs] [Boost C++ Libraries] #11562: Timer (using steady_clock) expires after computer time is set forward on Ubuntu 64-bit

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11562: Timer (using steady_clock) expires after computer time is set forward on Ubuntu 64-bit
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-23 22:19:50


#11562: Timer (using steady_clock) expires after computer time is set forward on
Ubuntu 64-bit
-------------------------------+----------------------------------------
  Reporter: boriss@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.59.0 | Severity: Showstopper
Resolution: | Keywords: steady_clock, Linux 64-bit
-------------------------------+----------------------------------------

Comment (by viboes):

 There are a lot of issues with this time issue. If


 {{{
 boost::chrono::time_point<boost::chrono::steady_clock>
 untilTime(boost::chrono::steady_clock::now() +
 boost::chrono::milliseconds(dueTime));

 boost::condition_variable m_condition;
 (void)m_condition.wait_until(guard, untilTime);
 }}}

 works now I will propose to close this issue.
 I will not fix the sleep issue as deprecated. Please create an issue for
 sleep_for if it doesn't exist yet.

 I believe that there is already one #7665.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11562#comment:16>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC