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


On Mon, Apr 25, 2005 at 12:24:14AM -0400, Christopher Faylor wrote:
> On Sun, Apr 24, 2005 at 04:57:36PM -0700, Mark Mitchell wrote:
> >Daniel Jacobowitz wrote:
> >>I guess I don't see this as a problem, while you do.  In any case,
> >>since Chris has raised technical objections, I'm going to sit back and
> >>see what the next revision looks like.  Hopefully it will make us both
> >>happier.
> >
> >I, too, am waiting on Chris' comments re.  my justification for using
> >WaitForMultipleObjects.  If it turns out that this is not the right
> >primitive to use, then we'll have to revisit that side of things, but I
> >suspect that the choice between directly modifying the file and
> >providing a (almost-certainly incomplete) implementation of "select"
> >will probably remain.
> 
> Sorry.  I didn't know you were waiting for any further feedback from me.
> 
> Your last message implied that the only handle which ever makes it into
> a select call is a console handle.  Is that right?  I thought that it
> was also used for serial I/O and GDB/MI.

It is only the console handle - in the configuration that Mark's been
testing.

Currently, we always select for READ|EXCEPT.  MI uses it for stdin (on
Unix this would be either a console for testing, or a pipe); GDB and
TUI use it for the console; and ser-base uses it for serial IO.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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