Re: [Boost-bugs] [Boost C++ Libraries] #7665: this_thread::sleep_for no longer uses steady_clock in thread

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7665: this_thread::sleep_for no longer uses steady_clock in thread
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-08 07:51:31


#7665: this_thread::sleep_for no longer uses steady_clock in thread
---------------------------+------------------------
  Reporter: ewdevel@… | Owner: viboes
      Type: Bugs | Status: reopened
 Milestone: Boost 1.53.0 | Component: thread
   Version: Boost 1.52.0 | Severity: Regression
Resolution: | Keywords:
---------------------------+------------------------

Comment (by Volker Prüß <Volker_Pruess@…>):

 When you refer to ''the current behaviour'' you mean that
 boost::this_thread::sleep_for has been mentioned in the list of predefined
 interruption points ? The documentation about sleep_for also says

 ''Suspends the current thread until the duration specified by by rel_time
 has elapsed.''

 Question is which clock is used to measure the ''duration''. I would
 expect that most programmers would intuitively expect a stable clock here.
 But referring to the type of clock in the documentation would do it. So I
 would agree to your suggestion adding another set of methods.

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