[c++-pthreads] Re: C++ and posix threads
Gabriel Dos Reis
gdr at integrable-solutions.net
Thu Jan 1 00:48:19 UTC 2004
Nathan Myers <ncm at cantrip.org> writes:
| Richard, please suspend judgment and read carefully.
|
| On Mon, Dec 29, 2003 at 09:07:55PM -0800, Richard Henderson wrote:
| > On Mon, Dec 29, 2003 at 05:58:08PM -0800, Nathan Myers wrote:
| > >
| > > Richard, all these "ZERO uptake" remarks make it very hard to discuss
| > > design decisions calmly. [...]
| >
| > If you think I mean just Uli, then you're wrong. I mean any vendor.
|
| Have you actually asked all all these vendors? I suspect you'd find
| that most would have preferred the option to offer _only_ error-return
| semantics, and not be obliged to implement unwinding at all.
On one hand, what it is important here is what is of interest to users.
The idea of checking return value for error codes might work in small,
but it does not work properly in larger systems/libraries.
I do not believe we should be conducting this discussion by focusing
on specific individual and I can't see anything from RTH's previous
message leading to believe that he was meaning Uli.
On the other hand, the idea of having printf (or assimilated) work
differently depending on whether it is part of C or C++ program is a
good recipe for confusion and disaster. We have something to learn
from past experience, messing with C functions.
-- Gaby
More information about the c++-pthreads
mailing list