[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does the cancelation exception have a name?


  • To: c++-pthreads@xxxxxxxxxxxxxxxx
  • Subject: Re: Does the cancelation exception have a name?
  • From: Alexander Terekhov <terekhov@xxxxxx>
  • Date: Tue, 07 Nov 2006 11:23:10 +0100

Jakub Jelinek wrote:
[...]
> > pthread_cancel to put something into _Unwind_Exception::exception_class (or
> > private_1/private_2) that could allow an extension of your patch to match
> > them as if by name. But I'm definitely not an expert on this, so I thought
> > it'd be better to ask.
> 
> Only in _Unwind_Exception::exception_class, private_{1,2} are used and
> initialized within _Unwind_ForcedUnwind.

Get rid of forced unwind. What's the problem with ordinary thrown
cancel and exit exceptions?

regards,
alexander.