Re: [Boost-bugs] [Boost C++ Libraries] #3504: deadline_timer (based on UTC time) is not suitable for communication timeouts

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3504: deadline_timer (based on UTC time) is not suitable for communication timeouts
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-01-28 21:54:33


#3504: deadline_timer (based on UTC time) is not suitable for communication
timeouts
--------------------------------------------+-------------------------------
  Reporter: Bjarne Laursen <bla@…> | Owner: chris_kohlhoff
      Type: Feature Requests | Status: closed
 Milestone: Boost 1.41.0 | Component: asio
   Version: Boost 1.41.0 | Severity: Problem
Resolution: wontfix | Keywords:
--------------------------------------------+-------------------------------

Comment(by anonymous):

 Replying to [comment:2 victor]:
> There is static mutex in function 'now' on windows. If there r lots of
 connection which own monotone_timer, ther will be execute one by one
 because this static mutex.
> I fixed the code and unploaded the attachment

 this version uses _ftime instead of GetTickCount for windows. The
 original problem seems to return using any system time function other than
 GetTickCount ???

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3504#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:02 UTC