[c++-pthreads] pthread_cancel and EH: let's try this again

Nathan Myers ncm at cantrip.org
Mon Jul 18 23:08:33 UTC 2005


On Tue, Jul 19, 2005 at 12:38:01AM +0200, Gabriel Dos Reis wrote:
> Nathan Myers <ncm at cantrip.org> writes:
> | 
> | To have cancellation exceptions come from C functions breaks all code 
> | that was written assuming C functions don't throw: i.e., all existing 
> | C++ code that calls C functions.
> 
> This is clear exaggeration.

Is there some large body of code written under the assumption that 
C functions *do* throw C++ exceptions?  I don't know of any.

You omitted the following paragraph in which I pointed out that it 
doesn't matter how much of the C++ code is broken by the change.

Let's try to stay on topic.

Nathan Myers
ncm at codesourcery.com
ncm at cantrip.org



More information about the c++-pthreads mailing list