Opened 9 years ago

#8918 new Bugs

boost/asio/detail/impl/win_iocp_io_service.ipp: Ignores failures from WaitForSingleObject

Reported by: Jeffrey Walton <noloader@…> Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.54.0 Severity: Problem
Keywords: synchronization WaitForSingleObject API failure Cc:

Description

boost/asio/detail/impl/win_iocp_io_service.ipp ignores failures from WaitForSingleObject. There's not much point in looping if its just going to fail again.

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.

Change History (0)

Note: See TracTickets for help on using tickets.