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

Peter Dimov pdimov at mmltd.net
Sat Nov 4 21:28:26 UTC 2006


Alexander Terekhov wrote:
> Google pthread_exit_e.

I know about DEC pthread_exit_e, my question was more about g++/glibc/NPTL's 
implementation and how the people involved feel. DEC's exception doesn't 
have a C++ name, by the way, so it doesn't matter from a (standard) C++ 
perspective whether it's distinct from pthread_cancel_e.

Restated, the question is what a C++ threading proposal for the next 
standard should contain with respect to the exception types:

A. nothing

B.

namespace std
{
    typedef /* unspecified */ thread_cancel_exception; // matches cancel and 
exit
};

C.

namespace std
{
    typedef /* unspecified */ thread_cancel_exception;
    typedef /* unspecified */ thread_exit_exception;
};




More information about the c++-pthreads mailing list