Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9708: regression: boost::condition_variable::timed_wait unexpectedly wakes up while should wait infinite
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-25 06:52:12
#9708: regression: boost::condition_variable::timed_wait unexpectedly wakes up
while should wait infinite
-------------------------------+------------------------
Reporter: nikolay@⦠| Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: thread
Version: Boost 1.52.0 | Severity: Regression
Resolution: | Keywords:
-------------------------------+------------------------
Changes (by viboes):
* owner: anthonyw => viboes
* status: new => assigned
Comment:
have you tried with
{{{
if (boost::cv_status::timeout == scv.wait_for(l,
boost::chrono::duration<int, std::ratio<1,1>>::max()))
{
// wait_for return timeout. it means that time
period has elapsed.
std::terminate();
}
}}}
?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9708#comment:1> 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:15 UTC