Re: [Boost-bugs] [Boost C++ Libraries] #11322: sleep_for() nanoseconds overload will always return too early on windows

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11322: sleep_for() nanoseconds overload will always return too early on windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-03 17:23:56


#11322: sleep_for() nanoseconds overload will always return too early on windows
-------------------------------+-------------------------
  Reporter: jlamotte@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.55.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------+-------------------------

Comment (by viboes):

 Please, could you try commenting the sleep_for on nanoseconds overload in
 thread/win32/thread_data.hpp


 {{{
 #ifdef BOOST_THREAD_USES_CHRONO
         inline void BOOST_SYMBOL_VISIBLE sleep_for(const
 chrono::nanoseconds& ns)
         {
 interruptible_wait(chrono::duration_cast<chrono::milliseconds>(ns).count());
         }
 #endif
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11322#comment:6>
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