On 03/22/2010 08:54 AM, Daniel P. Berrange wrote:
On Mon, Mar 22, 2010 at 02:25:31AM +0100, Matthias Bolte wrote:
> ---
> bootstrap.conf | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/bootstrap.conf b/bootstrap.conf
> index 157092f..fb862ad 100644
> --- a/bootstrap.conf
> +++ b/bootstrap.conf
> @@ -56,6 +56,7 @@ strsep
> sys_stat
> time_r
> useless-if-before-free
> +usleep
> vasprintf
> verify
> vc-list-files
> --
ACK
POSIX 2008 delisted usleep as an obsolete interface; it has some
usability issues when compared to nanosleep. While gnulib at least
fixes the worst of the portability problems (namely, the fact that
usleep is not required to sleep longer than 1 second, even though it can
sleep over 4000 seconds on glibc), I'm wondering if we should instead be
converting all existing uses of usleep to a more modern interface.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org