Re: [Boost-bugs] [Boost C++ Libraries] #11377: Boost condition variable always waits for system clock deadline

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11377: Boost condition variable always waits for system clock deadline
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-03 21:00:24


#11377: Boost condition variable always waits for system clock deadline
-------------------------------------+-------------------------------------
  Reporter: Dave Bacher | Owner: viboes
  <dbacher@…> | Status: assigned
      Type: Bugs | Component: thread
 Milestone: To Be Determined | Severity: Problem
   Version: Boost 1.56.0 | Keywords: condition variable,
Resolution: | clock
-------------------------------------+-------------------------------------

Comment (by viboes):

 Ok, I have adapted a patch from your condition_variable_steady that uses
 pthread_condattr_setclock. I have no platform providing it (I'm using
 MacOS). The user will need to define
 BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC until I find a way to detect
 it.

 I will commit it soon on develop branch. Could you test it?

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