Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11368: boost thread's usage of CreateWaitableTimer wakes PC from sleep (doh)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-06-02 08:09:07
#11368: boost thread's usage of CreateWaitableTimer wakes PC from sleep (doh)
-------------------------------+------------------------
Reporter: denger | Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.58.0 | Severity: Regression
Resolution: | Keywords:
-------------------------------+------------------------
Comment (by anonymous):
The problem isn't the use of waitable timers per se, but the use of
`SetWaitableTimerEx`, which always wakes the system from sleep if
possible. Boost.Thread should revert to using plain `SetWaitableTimer`,
ensuring that `false` is passed for the `bResume` parameter so that the
timer doesn't wake the system.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11368#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:18 UTC