[c++-pthreads] Re: FW: RE: Re: I'm Lost

Mark Mitchell mark at codesourcery.com
Wed Mar 8 22:02:52 UTC 2006


Wil Evers wrote:

> So who/where is this alledged "other side"? 

IIRC, Jason Merill has also historically been sympathetic to the forced
exception mechanism, because (if I paraphrase correctly!) he feels that
it might help some code move into a threaded environment without change.
 In particular, by ignoring "catch" handlers, some subset of real
programs might behave well enough, in that destructors would run to
clean things up, and the code wouldn't have to be modified to know about
thread-cancellation exceptions.  However, again, if I recall correctly,
Jason was also OK with the idea that a thread could catch a cancellation
exception, but that future calls to cancellation points would cause it
to be re-canceled.

I might have just stuck an entire giant paragraph of words into Jason's
mouth, though, in which case I very humbly apologize.

As far as I remember, Ulrich is the only person who has really argued
that it is unambiguously wrong to consider the situation in which a
thread catches a cancellation exception.

-- 
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713



More information about the c++-pthreads mailing list