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-24 16:15:24


#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):

 Replying to [comment:18 boriss@…]:
> Replying to [comment:17 viboes]:
> > Please could you try to replace in thread/v2/thread.hpp line #94
> >
> >
> > {{{
> > #ifdef BOOST_THREAD_SLEEP_FOR_IS_STEADY
> > }}}
> >
> > by
> >
> > {{{
> > #if defined BOOST_THREAD_SLEEP_FOR_IS_STEADY && ! defined
 BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC
> > }}}
>
> After this change also sleep_for is working OK.
> Please add changes from boost::condition_variable also to
 boost::condition_variable_any
>
> Can we expect the patch for this or will be in the next boost release?
> It is already known when 1.60 version will be released?

 Now that we know that it works for sleep_for also, I will start the
 adaptation of boost::condition_variable_any.

 Thanks for your test and patience.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11562#comment:19>
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