[c++-pthreads] Re: pthread_cancel and EH: let's try this again
Jason Merrill
jason at redhat.com
Fri Jul 15 20:44:29 UTC 2005
On Fri, 15 Jul 2005 00:53:40 -0700, Mark Mitchell <mark at codesourcery.com> wrote:
> The whole point of destructors and exceptions in C++ is that you are
> guaranteed that all exits from a block will result in a particular set
> of cleanup code -- including both destructors and the bodies of catch
> clauses -- being run in a particular order.
Not all exits. A return, break or goto from within a try block skips catch
clauses.
Jason
More information about the c++-pthreads
mailing list