This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Support Windows in event-loop.c


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


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