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



> > 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.

--Ted