Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12519: boost::thread::try_join_for does not return after timeout
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-02-25 21:50:37
#12519: boost::thread::try_join_for does not return after timeout
---------------------------+----------------------
Reporter: mweb@⦠| Owner: viboes
Type: Patches | Status: assigned
Milestone: Boost 1.64.0 | Component: thread
Version: Boost 1.61.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+----------------------
Comment (by viboes):
I've committed
https://github.com/boostorg/thread/commit/c7348b29cf8bfa1272645d04784419d37e1e7db5
Please, could you tell me if fixes the issue.
You will need to compile Boost.Thread after uncommenting in the config.hpp
file or compiling everything with -D
{{{
//#define BOOST_THREAD_USEFIXES_TIMESPEC
//#define BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC
}}}
As the commit says, this is a partial solution as it needs to define some
compiler defines, but at least it could be used to check if the solution
works.
I order to don't need the flags I would need to be able to detect
BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC and move inline, everything
that could depend on it.
I believe that I can remove BOOST_THREAD_USEFIXES_TIMESPEC, but is a
little bit too late for boost 1.64.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12519#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-25 21:54:31 UTC