[c++-pthreads] Re: pthread_cancel and EH: let's try this again

Wil Evers wil at bogo.xs4all.nl
Sun Jul 17 20:49:04 UTC 2005


Peter Dimov wrote:

> Peter Dimov wrote:
> 
>> Whether cancellation is enabled during stack unwinding does not
>> affect your example at all.
> 
> This is ambiguous. What I meant was that:
> 
> Whether stack unwinding suppresses cancellation exceptions doesn't 
> affect your example.
> 
> I now realize that you may have been talking about the "cancellation 
> enabled" flag as returned by pthread_setcancelstate. I agree that it can 
> be left enabled.

No - I was talking about the actual part of a thread's state that causes 
a cancellation request to be either put on hold, or result in an exception.

- Wil



More information about the c++-pthreads mailing list