From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUH4f-0003DY-Op for qemu-devel@nongnu.org; Fri, 02 Nov 2012 09:14:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TUH4e-0007o1-RT for qemu-devel@nongnu.org; Fri, 02 Nov 2012 09:14:13 -0400 Received: from mail-ea0-f173.google.com ([209.85.215.173]:40968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUH4e-0007np-Lo for qemu-devel@nongnu.org; Fri, 02 Nov 2012 09:14:12 -0400 Received: by mail-ea0-f173.google.com with SMTP id a1so1421427eaa.4 for ; Fri, 02 Nov 2012 06:14:12 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 2 Nov 2012 14:14:02 +0100 Message-Id: <1351862047-23172-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/5] Fixes for thread pool patches. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: blauwirbel@gmail.com, jan.kiszka@siemens.com, peter.maydell@linaro.org Three fixes: 1) Darwin does not support weak aliases, use weak references instead. 2) Darwin, NetBSD and OpenBSD do not have sem_timedwait, implement counting semaphores with a mutex and cv there. 3) Daemonize was broken, fixes are in patches 3-5. Paolo Bonzini (5): compiler: support Darwin weak references semaphore: implement fallback counting semaphores with mutex+condvar qemu-timer: reinitialize timers after fork vl: unify calls to init_timer_alarm vl: delay thread initialization after daemonization compiler.h | 9 ++++++- main-loop.c | 6 +++-- osdep.c | 56 +++++++++++++++++++++++----------------- oslib-win32.c | 12 +++++---- qemu-sockets.c | 40 ++++++++++++++++------------- qemu-thread-posix.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++ qemu-thread-posix.h | 6 +++++ qemu-timer.c | 15 ++++++++++- qmp.c | 2 ++ vl.c | 9 +++---- 10 file modificati, 172 inserzioni(+), 57 rimozioni(-) -- 1.7.12.1