|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 04/30] buffered_file: Move from using a timer to use a thread |
Date: | Thu, 18 Oct 2012 10:56:12 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121009 Thunderbird/16.0 |
Il 18/10/2012 09:30, Juan Quintela ha scritto: > + } > + if (s->bytes_xfer >= s->xfer_limit) { > + /* usleep expects microseconds */ > + usleep((expire_time - current_time)*1000); > + } g_usleep please. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |