[libvirt] [PATCH 07/11] build: drop the usleep gnulib module

Ján Tomko jtomko at redhat.com
Thu Oct 3 15:34:50 UTC 2019


On Thu, Oct 03, 2019 at 02:53:14PM +0100, Daniel P. Berrangé wrote:
>The usleep function was missing on older mingw versions, but we can rely
>on it existing everywhere these days.
>

Per https://www.gnu.org/software/gnulib/manual/html_node/usleep.html#usleep
usleep only works up to one second on mingw.

However from 'git grep usleep' it seems that the virsh usage is the only
one possibly relevant to Windows.

Is there any benefit of using usleep for values that are multiples of
1000?

>Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
>---
> bootstrap.conf | 1 -
> 1 file changed, 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20191003/9230f4cf/attachment-0001.sig>


More information about the libvir-list mailing list