Re: [Boost-bugs] [Boost C++ Libraries] #7719: C++11 steady_clock is not monotonic on Win32 & OSX

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7719: C++11 steady_clock is not monotonic on Win32 & OSX
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-25 08:40:44


#7719: C++11 steady_clock is not monotonic on Win32 & OSX
--------------------------------+-------------------------------------------
  Reporter: fnjordy@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: chrono
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------+-------------------------------------------
Changes (by viboes):

  * status: new => assigned

Comment:

 10 down vote accepted

 A steady clock is not necessarily a monotonic clock. N3128 (http://www
 .open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3128.html) is the proposal
 that removed monotonic clocks and added steady clocks and includes the
 rationale:


 {{{
     The implementation of the timeout definition necessarily depends on a
 steady clock, one that cannot be adjusted. A monotonic clock is not
 sufficient. While one could be implicit in the standard, below we make one
 explicit.

     Given a steady clock, the monotonic clock seems to be of marginal
 utility, and we replace the monotonic clock with the steady clock.

 }}}

 Please, let me know if there is something in the documentation that say
 something that doesn't conforms to the C++11 standard.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7719#comment:1>
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:11 UTC