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: "Daniel Jacobowitz" <drow@xxxxxxxxx>
  • Subject: Re: [c++-pthreads] Does the cancelation exception have a name?
  • From: "Peter Dimov" <pdimov@xxxxxxxxx>
  • Date: Thu, 2 Nov 2006 00:31:40 +0200

Daniel Jacobowitz wrote:
On Wed, Nov 01, 2006 at 09:18:46PM +0200, Peter Dimov wrote:
Under the current NPTL implementation, can the cancelation exception
be caught by name (and then rethrown)? If not, are there problems
(technical or otherwise) with giving it a name so it can be caught?

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

Thanks!

We are currently discussing, on the c++std-ext reflector, the possible approaches for a C++ cancelation/retirement/interruption mechanism. So I was trying to decide whether imposing a requirement that the cancel exception has a C++ type by which it can be caught is workable and reasonable. It seems to be both.