[c++-pthreads] Re: pthread_cancel and EH: let's try this again
Gabriel Dos Reis
gdr at integrable-solutions.net
Thu Jul 14 01:14:05 UTC 2005
Jason Merrill <jason at redhat.com> writes:
| On 13 Jul 2005 21:52:14 +0200, Gabriel Dos Reis <gdr at integrable-solutions.net> wrote:
|
| > I think cancellation should be left as ordinary C++, catchable through
| > catch(...). I don't think we should second guess client code and
| > design a new model of exception.
|
| My point is that making it an exception is also second-guessing client
| code which is written to use the POSIX C binding.
Even when it has been made clear that POSIX cancellation has always
been thought and conceived as exceptions?
I understand the issue is though, but I don't see much gain in having
another exception model with subtly different semantics. It is true
that many codes have been written with POSIX C binding, more has to come
as C++ codes. I'm not convinced that we should compromise the future.
-- Gaby
More information about the c++-pthreads
mailing list