This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: Support Windows in event-loop.c
- From: Ian Lance Taylor <ian at airs dot com>
- To: "M.M. Kettenis" <m dot m dot kettenis at alumnus dot utwente dot nl>
- Cc: Christopher Faylor <me at cgf dot cx>, Mark Mitchell <mark at codesourcery dot com>, gdb-patches at sources dot redhat dot com
- Date: 25 Apr 2005 12:08:16 -0400
- Subject: Re: PATCH: Support Windows in event-loop.c
- References: <7320615710191969@webhare>
> > 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