Re: RFA: Various Windows (mingw32) additions, mostly relating to select or serial ports

Daniel Jacobowitz
2006-02-04T15:30:29Z

On Sat, Feb 04, 2006 at 05:23:38PM +0200, Eli Zaretskii wrote:
> Out of curiosity: does Cygwin's `select' use a similar object-specific
> code to handle different types of handles?

Yes, it does. Since the POSIX emulation is considerably more thorough
than the job I've done here, they have many more methods, but ever file
descriptor in Cygwin is mapped to a Windows handle and an object
providing various methods (including a thread to run during select and
a peek method, as it happens). If anyone's wondering, I didn't borrow
the code from Cygwin, and upon a little more reflection I don't think
it would have been practical to do so without linking with all of
Cygwin anyway.

--
Daniel Jacobowitz
CodeSourcery