[c++-pthreads] Re: thread-safety definition
Jason Merrill
jason at redhat.com
Mon Jan 12 20:33:25 UTC 2004
On Mon, 12 Jan 2004 14:36:37 -0500, Ted Baker <baker at cs.fsu.edu> wrote:
>> > I think it will. Even if cancellation is disabled while exceptions are in
>> > flight, a 'catch-everything-and-never-rethrow' block in a destructor will
>> > discard a cancellation exception when that destructor is triggered by a
>> > regular (non-exceptional, non-unwinding) exit from a block scope.
>>
>> True.
>
> False, if cancellation is disabled during destructors.
Well, sure. But that's a different "if" than the above.
Jason
More information about the c++-pthreads
mailing list