Subject: [Boost-bugs] [Boost C++ Libraries] #3179: Sleep with local_time
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-15 18:35:34
#3179: Sleep with local_time
--------------------------+-------------------------------------------------
Reporter: anonymous | Owner: anthonyw
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: thread
Version: Boost 1.39.0 | Severity: Problem
Keywords: sleep time |
--------------------------+-------------------------------------------------
When calling sleep with an absolute time, it sleeps about two hours
instead of one second in code similar to the below example.
ptime now = second_clock::local_time();
this_thread::sleep( now + second(1) )
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3179> 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