Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6835: Timer and Sleep issues with system clock
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-28 23:59:07
#6835: Timer and Sleep issues with system clock
-------------------------------------------------+--------------------------
Reporter: Luc Moreault <lmoreault@â¦> | Owner: chris_kohlhoff
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: asio
Version: Boost 1.48.0 | Severity: Problem
Resolution: invalid | Keywords:
-------------------------------------------------+--------------------------
Changes (by chris_kohlhoff):
* status: new => closed
* resolution: => invalid
Comment:
The asio::deadline_timer typedef uses the UTC clock, as documented
[http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/reference/deadline_timer.html
here].
If you don't want to be sensitive to UTC clock changes then use the new
asio::steady_timer typedef, or write your own custom time traits to use an
alternative clock as shown in
[http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/examples.html#boost_asio.examples.timers
this example].
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6835#comment:2> 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:09 UTC