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


> > Ok...  So, is it acceptable to include a console-only implementation in
> > event-loop.c?  I would think that it wasn't.
> > That seems to suggest that some kind of generic select or poll
> > implementation needs to be developed, probably using threads.
> 
> Over my dead body (the threads part that is).

It has to be done with threads on Windows.  But the threads don't
escape from the select emulation.  They are just tiny little threads
which sit around waiting for something to happen on a file descriptor,
and which post an event when it does.

Ian


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