[SPAM] - Re: [c++-pthreads] Re: FW: RE: Re: I'm Lost - Email found in subject

Ted Baker baker at cs.fsu.edu
Thu Mar 9 00:26:30 UTC 2006


> 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




More information about the c++-pthreads mailing list