[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [PATCH] block/curl: Replace usleep by g_usleep

From: Stefan Hajnoczi
Subject: Re: [Qemu-trivial] [PATCH] block/curl: Replace usleep by g_usleep
Date: Mon, 2 Apr 2012 14:00:39 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Mar 31, 2012 at 05:34:41PM +0200, Stefan Weil wrote:
> The function usleep is not available for all supported platforms:
> at least some versions of MinGW don't support it.
> usleep was also declared obsolete by POSIX.1-2001.
> The function g_usleep is part of glib2.0, so it is available for
> all supported platforms.
> Using nanosleep would also be possible but needs more code.
> Signed-off-by: Stefan Weil <address@hidden>
> ---
>  block/curl.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Thanks, applied to the trivial patches tree:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]