Re: [SPAM] - Re: [c++-pthreads] Re: FW: RE: Re: I'm Lost - Email found in subject
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SPAM] - Re: [c++-pthreads] Re: FW: RE: Re: I'm Lost - Email found in subject
- To: Jason Merrill <jason@xxxxxxxxxx>
- Subject: Re: [SPAM] - Re: [c++-pthreads] Re: FW: RE: Re: I'm Lost - Email found in subject
- From: Ted Baker <baker@xxxxxxxxxx>
- Date: Wed, 8 Mar 2006 19:26:30 -0500
> Yes. This is the choice that Ada made for handling task cancellation;
> it functions like an exception except that it cannot be caught, at least
> not by user code.
Yes, and the POSIX Ada binding chose to ignore the C thread
cancellation API. It was both freed and forced to do so because
the Ada language standard provides equivalent (but not
interoperable) functionality, based on a unified view of a task
abort as a special kind of exception.
> Both the Ada approach and the re-cancellation approach avoid this
> problem of accidentally losing the cancellation request.
Right.
--Ted