Subject: [Boost-bugs] [Boost C++ Libraries] #8921: boost/asio/detail/win_event.hpp: Ignores failures from WaitForSingleObject
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-25 05:42:53
#8921: boost/asio/detail/win_event.hpp: Ignores failures from WaitForSingleObject
-------------------------------------------------+-------------------------
Reporter: Jeffrey Walton <noloader@â¦> | Owner:
Type: Bugs | chris_kohlhoff
Milestone: To Be Determined | Status: new
Version: Boost 1.54.0 | Component: asio
Keywords: synchronization WaitForSingleObject | Severity: Problem
API failure |
-------------------------------------------------+-------------------------
boost/asio/detail/win_event.hpp ignores failures from WaitForSingleObject.
There's not much point in locking if the wait failed since your not in an
expected state.
At minimum (as a user), I would expect Boost to use BOOST_ASSERT with an
appropriate exception in debugging and diagnostic builds; and BOOST_VERIFY
with an appropriate exception for release or production builds.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8921> 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:13 UTC