From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUd9q-0004MF-Hv for qemu-devel@nongnu.org; Thu, 09 Jun 2011 07:12:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QUd9o-0004me-82 for qemu-devel@nongnu.org; Thu, 09 Jun 2011 07:12:13 -0400 Received: from mail-px0-f174.google.com ([209.85.212.174]:54543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUd9n-0004mQ-Kz for qemu-devel@nongnu.org; Thu, 09 Jun 2011 07:12:11 -0400 Received: by pxi15 with SMTP id 15so1028632pxi.33 for ; Thu, 09 Jun 2011 04:12:11 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Thu, 9 Jun 2011 13:10:23 +0200 Message-Id: <1307617825-17149-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] iothread improvements for Mac OS X List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org These are two old patches that I never submitted because I didn't really think they were useful except as cleanups. Recently, however, Alex Graf mentioned some problems that Mac OS X has with iothread, and they sounded to me like they were related to these patches. And quite surprisingly, both of them were fixing bugs! Mac OS X still has problems with iothread according to Alex's testing (Linux times out in libata, and reactos likewise hangs early on I/O), but at least the patches fix deadlocks and keep a responsive UI. Paolo Bonzini (2): iothread: replace fair_mutex with a condition variable qemu-timer: change unix timer to dynticks cpus.c | 24 +++++++++--------------- qemu-timer.c | 40 ++++++++++++++++++++++++++++------------ 2 files changed, 37 insertions(+), 27 deletions(-) -- 1.7.4.4