From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1uIU-0006ij-Mm for qemu-devel@nongnu.org; Wed, 24 Jul 2013 04:19:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1uIT-00081T-I5 for qemu-devel@nongnu.org; Wed, 24 Jul 2013 04:19:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1uIT-00081M-A1 for qemu-devel@nongnu.org; Wed, 24 Jul 2013 04:19:45 -0400 Message-ID: <51EF8E07.9040307@redhat.com> Date: Wed, 24 Jul 2013 10:19:19 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1374396185-10870-1-git-send-email-pingfank@linux.vnet.ibm.com> <429B80A9A0DBF7FBF05E7C5A@nimrod.local> <628DFBF37B094813C72B6DBF@Ximines.local> <51EE5B34.10507@redhat.com> <51EF7752.9020505@redhat.com> <11E9299201E9A8D837D212DB@nimrod.local> <51EF85A0.6070307@redhat.com> <0C1B02FD6461BD119735B002@nimrod.local> In-Reply-To: <0C1B02FD6461BD119735B002@nimrod.local> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC 0/8] arm AioContext with its own timer stuff List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Bligh Cc: Kevin Wolf , Stefan Hajnoczi , Jan Kiszka , liu ping fan , qemu-devel@nongnu.org, Anthony Liguori Il 24/07/2013 10:01, Alex Bligh ha scritto: >>> >> >> Part of it should be fixed by os_setup_early_signal_handling. >> >> This is corroborated by the fact that without >> os_setup_early_signal_handling Wine always works, and Windows breaks. > > This: > http://www.windowstimestamp.com/description > suggests that whilst WaitForMultipleEvents has a millisecond timeout, > one can (see section 3.2) use these to wait for an object which is > itself a timer and expires with - in this case - 100ns resolution which > is probably enough. > > Again I know nothing about Windows so this may be completely wrong. This is roughly what the alarm timer code does on Windows. I also don't know much about the internals, I wouldn't worry too much. Paolo