Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6787: boost::thread::sleep() hangs if system time is rolled back
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-16 18:08:36
#6787: boost::thread::sleep() hangs if system time is rolled back
-----------------------------------------------+----------------------
Reporter: Artem Gayardo-Matrosov <boost@â¦> | Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: thread
Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------------+----------------------
Comment (by viboes):
Replying to [comment:48 ueli.marti@â¦]:
> I've tested on ARM/Linux.
> boost::this_thread::sleep_for() hangs forever, even without rolling back
system clock.
>
> Integrated the patch the following way:
> - downloaded boost 1.59.0
> - replaced /thread/pthread/condition_variable_fwd.hpp with the version
from the patch
> - added #define BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC at the
beginning of the file
> - rebuilt boost for target
> - rebuilt test program
Thanks for testing.
Hrr, this are bad news. I will need to have access to a platform providing
BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6787#comment:51> 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