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


Daniel Jacobowitz wrote:

Does that seem like a workable plan to you?
I don't think we should add something this limited.

OK. I'll go code up something select-like for Windows.


It will not be fully general because each new kind of event we want to wait for will in general require a new API call, and I can't enumerate what the eventual complete set might be. (In UNIX, everything is a file descriptor from this point of view; not true in Windows.) However, it will at least have the right interface.

I'm not personally aware of how to get anything other than a console handle into this loop. Can you give me a test procedure that should get me something else, given the currently limited functionality on (non-Cygwin) Windows? Otherwise, I'd still prefer to add the generality to select once I can test what I'm dealing with.

Thanks,

--
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]