This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: select & pipe does not work!


Peter.Eggimann@mgb.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]