[c++-pthreads] Re: thread-safety definition
Jason Merrill
jason at redhat.com
Mon Jan 12 21:56:39 UTC 2004
On Mon, 12 Jan 2004 14:18:39 -0500, Ted Baker <baker at cs.fsu.edu> 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
More information about the c++-pthreads
mailing list