Re: [RFC] Missing sleep function for mingw hosts

Eli Zaretskii
2011-03-29T20:01:23Z

> From: Pedro Alves <pedro@codesourcery.com>
> Date: Tue, 29 Mar 2011 15:23:46 +0100
> Cc: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>,
> "'Eli Zaretskii'" <eliz@gnu.org>
>
> > > I'd rather we had a replacement in win32-nat.c, instead of importing
> > > gobs of gnulib stuff needed to provide such a trivial replacement.
> > > gnulib is GPL, so we can simply copy the code into our sources.
>
> gnulib has a mechanism (which we are already using) where
> we just import the modules we need. We don't import the whole
> thing.

I know, but "just the modules we need" are typically huge relative to
small problems they solve, this one in particular.

Anyway, I'm glad that a much more elegant solution is already
available in GDB, in the form of gdb_usleep.