[Boost-bugs] [Boost C++ Libraries] #7750: iostreams & thread cancellation issue

Subject: [Boost-bugs] [Boost C++ Libraries] #7750: iostreams & thread cancellation issue
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-29 12:59:19


#7750: iostreams & thread cancellation issue
-------------------------------------------+--------------------------------
 Reporter: Oleg.Dolgov@… | Owner: turkanis
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
  Version: Boost Development Trunk | Severity: Problem
 Keywords: iostreams pthreads exceptions |
-------------------------------------------+--------------------------------
 In NPTL thread cancellation is implemented using exceptions.
 The iostreams functions contains a catch-all clause which does not rethrow
 the exception. This is possible to expect but should really never happen
 in any code. The rules C++ experts developed state that catch-all cases
 must rethrow. If not then strange things can happen since one doesn't
 always know exactly what exceptions are thrown.

 Simple patch for sync functions attached.

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