PATCH: Support Windows in event-loop.c

Mark Mitchell mark@codesourcery.com
Thu Apr 21 18:56:00 GMT 2005


Eli Zaretskii wrote:

> Is it perhaps possible to write an emulation of `select' that would
> handle file handles as well

Well, Cygwin has select, so it is *possible*.  But, it's not easy, and 
it doesn't really map terribly well onto what Windows provides.

As Daniel says, this is very much analogous to poll/select; different 
systems provide different low-level mechanisms for waiting for input.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304



More information about the Gdb-patches mailing list