Subject: [Boost-bugs] [Boost C++ Libraries] #3178: Sleep with negative time
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-15 18:29:20
#3178: Sleep with negative time
--------------------------------------------+-------------------------------
Reporter: daniel | Owner: anthonyw
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: thread
Version: Boost 1.39.0 | Severity: Regression
Keywords: thread sleep timespan negative |
--------------------------------------------+-------------------------------
When trying to sleep with a negative timespan it will result in almost
infinite sleep.
Solution: in this_thread sleep, check for negative timespan before calling
interruptible_wait.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3178> 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:00 UTC