C++ and posix threads

David Abrahams dave at boost-consulting.com
Sun Dec 28 01:46:46 UTC 2003


Richard Henderson <rth at redhat.com> writes:

> On Thu, Dec 25, 2003 at 02:35:31PM -0500, David Abrahams wrote:
>> I'm not sure I understand what you're saying.  The POSIX C binding
>> standard is in direct conflict with the ISO C++ standard, so _some_
>> standard will be violated.  [...] If that's what you're saying, why
>> is it better to violate the POSIX standard than the ISO C++ standard?
>
> I think there are degrees here.
>
> The conflict with ISO C++ is that it says that ISO C functions can't
> throw.  Reverting that clause seems to me to be a minor change.
>
> The proposed change to POSIX such that it does not use abnormal return 
> semantics is a *major* change.

I don't get it.  Changing the C++ standard to allow certain functions
to throw is minor but changing POSIX to forbid those functions from
throwing is major?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the c++-pthreads mailing list