Subject: [Boost-bugs] [Boost C++ Libraries] #12389: Timer expires immediately on Ubuntu 64-bit using boost 1.61
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-08-11 12:28:26
#12389: Timer expires immediately on Ubuntu 64-bit using boost 1.61
------------------------------+----------------------
Reporter: boriss@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.61.0 | Severity: Problem
Keywords: Linux 64-bit |
------------------------------+----------------------
We are using boost:chrono and boost:thread for the Timer implementation.
We have multi library application. Our libraries are linked with dynamic
boost libraries. Some of our libraries with defined
BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC and some without this
define. After mixing this define we found out that timers expires
immediately after they are started.
If we defined BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC in all
libraries then we didn't found this problem.
We need this define to avoid problems described in boost ticket 11562.
More details about our implementation can be found in boost ticket 11562
https://svn.boost.org/trac/boost/ticket/11562
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12389> 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:20 UTC