Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9720: boost::this_thread::sleep_for() sometimes returns immediately on win32
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-02 16:45:56
#9720: boost::this_thread::sleep_for() sometimes returns immediately on win32
-------------------------+-------------------------------------------------
Reporter: Lars | Owner: viboes
Hagström <lars@â¦> | Status: assigned
Type: Bugs | Component: thread
Milestone: To Be | Severity: Problem
Determined | Keywords: chrono thread
Version: Boost | QueryPerformanceCounter
1.55.0 |
Resolution: |
-------------------------+-------------------------------------------------
Comment (by Lars Hagström <lars@â¦>):
I've now got this happening regularly. It appears to only happen at the
very start of running the program. So I've rewritten it with just chrono
and no timers, and also added a python script that runs it repeatedly.
Can be found here (an svn repo):
http://svn.code.sf.net/p/safir/svn/misc/boost_sleep_test/
Anyway, this now fails quite quickly on a VM like the one I described
above.
{{{
Timeout!
Elapsed time: 601116317640 nanoseconds.
}}}
Will try with the develop branch "soon" (am home with sick kid atm).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9720#comment:3> 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