From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V04Y3-0001Fj-9b for qemu-devel@nongnu.org; Fri, 19 Jul 2013 02:52:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V04Y0-0005oC-Nt for qemu-devel@nongnu.org; Fri, 19 Jul 2013 02:52:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V04Y0-0005mh-HE for qemu-devel@nongnu.org; Fri, 19 Jul 2013 02:52:12 -0400 Message-ID: <51E8E204.8000201@redhat.com> Date: Fri, 19 Jul 2013 08:51:48 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <51E4E54A.10908@redhat.com> <51E4F77C.2090509@redhat.com> <794E19D97CCC267CCBFA8397@Ximines.local> <51E56A1A.50502@redhat.com> <19631228D7B62545DC6A2928@Ximines.local> <51E57AF3.1050409@redhat.com> <20130717030230.GA27807@stefanha-thinkpad.redhat.com> <51A6D731C894ECC429EA2171@nimrod.local> <20130719015850.GA29671@stefanha-thinkpad.redhat.com> <59E068CDCDE212F730299140@nimrod.local> In-Reply-To: <59E068CDCDE212F730299140@nimrod.local> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] [RFC] aio/async: Add timed bottom-halves List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Bligh Cc: Kevin Wolf , Anthony Liguori , Stefan Hajnoczi , qemu-devel@nongnu.org, Stefan Hajnoczi , rth@twiddle.net Il 19/07/2013 08:38, Alex Bligh ha scritto: > > However, I still don't quite see how the poll in the mainloop is > meant to exit when a timer expires. There's now no qemu_notify_event, > and no SIGALRM, and the timeout will still be infinite (unless I > calculate the timeout as the minimum across all clocks, in which > case I might as well do (b) above). Yes, that was the idea. Paolo