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-10 08:23:06


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

 I saw that sleep_for is using ''pthread_cond_wait'' to achieve thread
 suspension and being interruptible. Is it possible to initialize the
 condition variable to use the monotonic clock as described
 [http://stackoverflow.com/questions/11893992/implementing-condition-
 variable-timed-wait-correctly here] ?

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