Re: RFA: Various Windows (mingw32) additions, mostly relating to select or serial ports

Eli Zaretskii
2006-02-04T15:23:40Z

> Date: Sat, 4 Feb 2006 10:11:24 -0500
> From: Daniel Jacobowitz <drow@false.org>
>
> The problem is that, yes, all these objects are HANDLEs, and
> WaitForMultipleObjects can wait for many kinds of HANDLEs. But there's
> different things that "waiting for a handle" might mean, and it doesn't
> happen to pick the right one. So what I'm doing is using other
> handles, controlled by threads or async I/O functions, to signal the
> conditions we're interested in.

Thanks for the explanations. It sounds like there's no way to do this
significantly better than you did. So I'm satisfied and think that
your patches can go in (modulo the on-going discussion of where to put
them).

Out of curiosity: does Cygwin's `select' use a similar object-specific
code to handle different types of handles?

> > ...I don't think you included this entry.
>
> Oops. I added it while I was writing that bullet point.
>
> +* Improved Windows host support
> +
> +GDB now builds as a cross debugger hosted on i686-mingw32, including
> +native console support, and remote communications using either
> +network sockets or serial ports.

Thanks. I think this is good.