This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.3] Followup to C++ forced unwinding


Mark Mitchell <mark@codesourcery.com> writes:

[...]

| But we shouldn't go silently breaking millions of lines of until-now
| exception-safe ISO-conformant code that happens to use "catch(...)"
| rather than destructors.  I'd ever so much rather debug a
| why-didn't-my-thread-go-away bug than a
| why-is-my-data-in-an-inconsistent-state bug.

strongly seconded.  If we choose to map thread cancellation into
exception, then it rather obeys basic EH rules -- even though RAII is
certainly a good practice.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]