Boost C++ Libraries: Ticket #9288: timed_wait does not check if has expired https://svn.boost.org/trac10/ticket/9288 <p> winapi_semaphore_wrapper.hpp line 83 </p> <p> unsigned long ret = winapi::wait_for_single_object(m_sem_hnd, (abs_time - microsec_clock::universal_time()).total_milliseconds()); </p> <p> the abs_time - microsec_clock::universal_time() maybe &lt;0 ! </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9288 Trac 1.4.3 Ion Gaztañaga Sun, 27 Oct 2013 12:15:51 GMT <link>https://svn.boost.org/trac10/ticket/9288#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9288#comment:1</guid> <description> <p> Thanks for the report, a check will be added to see if abs_time is less than current time. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Sun, 27 Oct 2013 12:16:44 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9288#comment:2 https://svn.boost.org/trac10/ticket/9288#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/86475" title="Fixes #9288">[86475]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9288" title="#9288: Bugs: timed_wait does not check if has expired (closed: fixed)">#9288</a> </p> Ticket