Re: [c++-pthreads] Re: cancellation points report failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On Tue, 06 Jan 2004 18:31:23 -0500, David Abrahams <dave@xxxxxxxxxxxxxxxxxxxx> 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