Re: [Boost-bugs] [Boost C++ Libraries] #8136: boost::this_thread::sleep_for() sleeps longer than it should in Windows

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8136: boost::this_thread::sleep_for() sleeps longer than it should in Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-04 17:48:53


#8136: boost::this_thread::sleep_for() sleeps longer than it should in Windows
----------------------------------------------------+-----------------------
  Reporter: Ondrej Siler <ondrej.siler@…> | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: Boost 1.54.0 | Component: thread
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------------------+-----------------------

Comment (by viboes):

 Replying to [comment:4 Ondrej Siler <ondrej.siler@…>]:
> I cannot link without BOOST_USE_WINDOWS_H defined.
>
> With BOOST_USE_WINDOWS_H defined, it works ok.
>
> Shouldn't be the test in thread/win32/thread_primitives.hpp:21
> {{{
> #if _WIN32_WINNT >= 0x0600
> }}}
> instead of
> {{{
> #if WINNT >= 0x0600
> }}}
>
> MS Visual Studio (IDE) doesn't know WINNT, but is happy with
 _WIN32_WINNT

 I suspect that you are talking of #8070, isn't it?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8136#comment:5>
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:12 UTC