[c++-pthreads] Re: cancellation points report failure

Jason Merrill jason at redhat.com
Mon Jan 12 18:37:14 UTC 2004


On Tue, 06 Jan 2004 18:31:23 -0500, David Abrahams <dave at boost-consulting.com> wrote:

> AFAICT, the difference between your proposal and Nathan's, once
> cancellation is thrown, is that your proposal can prevent
> cancellation from being thrown unexpectedly in a catch block (**)
> that's part of an unwind sequence?
>
> (**) From a destructor during unwinding also, but that could be
> prevented using std::unhandled_exception().

As others have suggested, I think that we want to disable cancellation
during unwinding.  It's not clear to me that we also want to disable it
during the execution of a catch block (operating on some non-cancellation
exception).

Jason



More information about the c++-pthreads mailing list