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
- To: Ted Baker <baker@xxxxxxxxxx>
- Subject: Re: [c++-pthreads] Re: thread-safety definition
- From: Jason Merrill <jason@xxxxxxxxxx>
- Date: Mon, 12 Jan 2004 16:56:39 -0500
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