Re: [c++-pthreads] C++ and posix threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [c++-pthreads] C++ and posix threads



On Mon, 2003-12-22 at 13:57, Ted Baker wrote:
> > (c) it is OK to consider slightly broader modifications to the existing
> > C interfaces for C++ (such as modifying "read()" to throw an exception),
> > but it should still be possible to recompile C programs as C++ programs
> > and get reasonable behavior.
> 
> I don't think you will be able to get buy-in from vendors or
> users of C if you require changes to the POSIX C libraries that
> would change the behavior of any existing C application that
> conforms to the current Open Group Unix or the IEEE POSIX
> standards.

I agree -- but I did not say that.  I said:

  it is OK to consider slightly broader modifications to the
  existing C interfaces for C++

There's no inherent reason why a vendor would refuse to make a change to
the interfaces in some new mode -- so long as the
backwards-compatibility requirement you mention were preserved.

-- 
Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
CodeSourcery, LLC