[Boost-bugs] [Boost C++ Libraries] #9288: timed_wait does not check if has expired

Subject: [Boost-bugs] [Boost C++ Libraries] #9288: timed_wait does not check if has expired
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-22 09:16:29


#9288: timed_wait does not check if has expired
------------------------------+--------------------------
 Reporter: huyuguang@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: |
------------------------------+--------------------------
 winapi_semaphore_wrapper.hpp line 83

 unsigned long ret = winapi::wait_for_single_object(m_sem_hnd, (abs_time -
 microsec_clock::universal_time()).total_milliseconds());

 the abs_time - microsec_clock::universal_time() maybe <0 !

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