Re: [Boost-bugs] [Boost C++ Libraries] #3504: deadline_timer (based on UTC time) is not suitable for communication timeouts

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3504: deadline_timer (based on UTC time) is not suitable for communication timeouts
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-24 18:13:54


#3504: deadline_timer (based on UTC time) is not suitable for communication
timeouts
--------------------------------------------+-------------------------------
  Reporter: Bjarne Laursen <bla@…> | Owner: chris_kohlhoff
      Type: Feature Requests | Status: closed
 Milestone: Boost 1.41.0 | Component: asio
   Version: Boost 1.41.0 | Severity: Problem
Resolution: wontfix | Keywords:
--------------------------------------------+-------------------------------

Comment (by bwhite@…):

 I've attached a header file that I recently implemented in our product
 that was suffering the same issue described in this thread. It provides a
 ready-to-use boost::asio::monotonic_deadline_timer class that is powered
 by the boost::chrono::steady_clock. So far in our testing adjusting the
 system clock forward or back no longer impacts when the timer fires. When
 you ask for, say, 10 seconds you always get 10 seconds.
 Hopefully this or something similar will appear in a future Boost version.
 Enjoy!

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3504#comment:17>
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:08 UTC