From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEgsL-00064Y-63 for qemu-devel@nongnu.org; Mon, 02 Apr 2012 09:00:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SEgsF-0001Dt-Vq for qemu-devel@nongnu.org; Mon, 02 Apr 2012 09:00:48 -0400 Date: Mon, 2 Apr 2012 14:00:39 +0100 From: Stefan Hajnoczi Message-ID: <20120402130039.GB11583@stefanha-thinkpad.localdomain> References: <1333208081-26421-1-git-send-email-sw@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1333208081-26421-1-git-send-email-sw@weilnetz.de> Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] block/curl: Replace usleep by g_usleep List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-trivial@nongnu.org, Kevin Wolf , qemu-devel@nongnu.org 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 > --- > block/curl.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Thanks, applied to the trivial patches tree: https://github.com/stefanha/qemu/commits/trivial-patches Stefan