delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/12/17/15:56:53

From: jra AT axon DOT cygnus DOT com (Jeremy Allison)
Subject: Re: Select returns (-1) for STDIN_FILENO
17 Dec 1996 15:56:53 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199612172320.PAA04460.cygnus.gnu-win32@cygnus.com>
Original-To: Ben Castrogiovanni <ben AT smtp DOT casabyte DOT com>
Original-cc: gnu-win32 AT cygnus DOT com
In-reply-to: Your message of "Tue, 17 Dec 1996 11:06:11 PST."
<32B6EF23 DOT 3226 AT casabyte DOT com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Ben,

	Right now attempting to select on a
console handle and a socket will immediately
fail. This is due to the way select is implemented
internally in Beta 17.1. It can be extended to do
a blocking select on both sockets and console handles
but this is not currently a high priority for me (I
am using cygwin32 for the kerberos security code
which doesn't have this requirement).

I know how to extend select but it's a fiddly
job :-).

If anyone wants to contribute the code I'd be more
than happy to integrate it (warning though, to be implemented
correctly you'll need a separate socket select thread, a 
loopback socket for timeout cancellation and other uglyness).

Cheers,

Jeremy.
jra AT cygnus DOT com
-
For help on using this list, 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