 |
|
|
|
Actions
|
|
[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [c++-pthreads] Re: Does the cancelation exception have a name?
- To: <terekhov@xxxxxx>, <c++-pthreads@xxxxxxxxxxxxxxxx>
- Subject: Re: [c++-pthreads] Re: Does the cancelation exception have a name?
- From: "Peter Dimov" <pdimov@xxxxxxxxx>
- Date: Sat, 4 Nov 2006 23:28:26 +0200
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;
};
|
|