This is the mail archive of the gcc@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: catch(...) and forced unwind


On Fri, 12 Dec 2003 18:37:54 -0600, Benjamin Kosnik <bkoz@redhat.com> wrote:

>>I see three ways to fix this:
>>
>>1) automatically rethrow cancellation.
>>2) explicitly rethrow cancellation--this would require some way to catch it
>>   specifically, but we really ought to have that anyway.
>
> What about 
>[...]
> Ie, a __cancellation_handler that could be set to either rethrow,
> continue, or abort?

That seems plausible to me.  I think that #2 would still be appropriate.

Jason


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