delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/09/24/10:22:40

From: cgf AT cygnus DOT com (Christopher Faylor)
Subject: Re: select() and EOF
24 Sep 1998 10:22:40 -0700 :
Message-ID: <19980924124230.A1952.cygnus.cygwin32.developers@cygnus.com>
References: <01BDE7FB DOT 9C70D610 AT sos>
Mime-Version: 1.0
To: Sergey Okhapkin <sos AT prospect DOT com DOT ru>,
"'cygwin32-developers AT cygnus DOT com'" <cygwin32-developers AT cygnus DOT com>

On Thu, Sep 24, 1998 at 08:40:47PM +0400, Sergey Okhapkin wrote:
>Christopher Faylor wrote:
>> Yup.  It looks like it.  I just tested this on Linux.  It should flag both an
>> exception and a "read ready".
>> 
>> I'll make that change.
>> 
>
>Don't forget about pipes.  When write end of pipe is closed
>PeekNamedPipe() fails with error set to ERROR_BROKEN_PIPE.

That's the only change I made, actually.  Sockets should already
handle this and I don't think it works for any other type besides
pipes does it?

-- 
cgf AT cygnus DOT com
http://www.cygnus.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019