[c++-pthreads] Does the cancelation exception have a name?
Peter Dimov
pdimov at mmltd.net
Wed Nov 1 22:31:40 UTC 2006
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.
More information about the c++-pthreads
mailing list