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

Nathan Myers ncm at cantrip.org
Wed Dec 24 15:22:38 UTC 2003


On Wed, Dec 24, 2003 at 08:09:57AM -0500, Jason Merrill wrote:
> On Tue, 23 Dec 2003 11:03:14 -0500, Ted Baker <baker at cs.fsu.edu> wrote:
> 
> > How do you propose to modify read() to throw an exception and
> > still have backwards compatability with applications that expect
> > read() to always return (more specifically, to return -1 if it
> > fails)?
> 
> read() already doesn't return if it's acting on a cancellation request.
> Throwing an exception is just a different way of not returning.

Jason, whether read() is to return is one of the points at issue. 

Nathan Myers
ncm at cantrip.org



More information about the c++-pthreads mailing list