delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/16/17:07:47

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: select & pipe does not work!
16 May 1997 17:07:47 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC6268.440B66D0.cygnus.gnu-win32@sos>
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'Peter DOT Eggimann AT mgb DOT ch'" <Peter DOT Eggimann AT mgb DOT ch>
Original-Cc: "'Geoffrey Noer'" <noer AT cygnus DOT com>
Encoding: 15 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Peter DOT Eggimann AT mgb DOT ch wrote:
> Hi,
> I encountered a problem while porting some software. The select call
> (waiting for a pipe) returns immediate even thougt there is no data
> available from the pipe.

Looks like a cygwin bug. Pipes are handled with 
fhandler_base:fhandler_disk_file class, whose member function 
always_read_ready() returns 1 (fhandler.h). We need a separate 
fhandler_pipe class...

--
Sergey Okhapkin
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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