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

Gabriel Dos Reis gdr at integrable-solutions.net
Tue Jul 19 01:52:22 UTC 2005


Nathan Myers <ncm at cantrip.org> writes:

| 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.

That does make your claim match reality.

| 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.

It was irrelevant.

| Let's try to stay on topic.

Yes, please.

-- Gaby



More information about the c++-pthreads mailing list