[Boost-bugs] [Boost C++ Libraries] #8923: boost/detail/lightweight_thread.hpp: Ignores failures from WaitForSingleObject

Subject: [Boost-bugs] [Boost C++ Libraries] #8923: boost/detail/lightweight_thread.hpp: Ignores failures from WaitForSingleObject
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-25 05:46:26


#8923: boost/detail/lightweight_thread.hpp: Ignores failures from
WaitForSingleObject
-------------------------------------+-------------------------------------
 Reporter: Jeffrey Walton | Type: Bugs
  <noloader@…> | Milestone: To Be Determined
   Status: new | Version: Boost 1.54.0
Component: None | Keywords: synchronization
 Severity: Problem | WaitForSingleObject API failure
-------------------------------------+-------------------------------------
 boost/detail/lightweight_thread.hpp ignores failures from
 WaitForSingleObject. There's not much point in closing the handle if the
 wait failed due to ERROR_INVALID_HANDLE.

 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/8923>
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