Actions

icon Post
text/html Subscribe
text/html Unsubscribe

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

Re: [c++-pthreads] Does the cancelation exception have a name?


  • To: Peter Dimov <pdimov@xxxxxxxxx>
  • Subject: Re: [c++-pthreads] Does the cancelation exception have a name?
  • From: Jason Merrill <jason@xxxxxxxxxx>
  • Date: Mon, 06 Nov 2006 11:39:55 -0500

Peter Dimov wrote:
Daniel Jacobowitz wrote:

The latest state I know of for this question is here:
 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28145

Follow-up question:

Is it possible (and desirable) to give different names to the two "exceptions" resulting from pthread_cancel and pthread_exit?

It's not trivial, the information my implementation checks only identifies forced unwind, but I don't see any reason it shouldn't be possible by putting the extra information somewhere. It certainly seems desirable.

Jason