Re: [c++-pthreads] Re: thread-safety definition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [c++-pthreads] Re: thread-safety definition



On Mon, 12 Jan 2004 14:18:39 -0500, Ted Baker <baker@xxxxxxxxxx> wrote:

>> ... It sounds as though a lot of people are seriously 
>> considering the idea of allowing exceptions to escape from destructors.
>> .... it is _absolutely vital_ 
>> that destructors never be allowed to throw under any circumstances.
>
> Right!  This is what we decided with Ada.  That is why
> cancellation (task abort) is disabled during exception propagation
> and finalization routines of controlled object (execution of
> destructors).

Can a finalization routine throw a normal exception in Ada?

Jason