From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1xWI-00006P-Mq for qemu-devel@nongnu.org; Fri, 09 Sep 2011 05:37:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1xWG-0008Hb-Jp for qemu-devel@nongnu.org; Fri, 09 Sep 2011 05:37:10 -0400 Received: from mtagate7.uk.ibm.com ([194.196.100.167]:45659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1xWG-0008G8-AN for qemu-devel@nongnu.org; Fri, 09 Sep 2011 05:37:08 -0400 Received: from d06nrmr1806.portsmouth.uk.ibm.com (d06nrmr1806.portsmouth.uk.ibm.com [9.149.39.193]) by mtagate7.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p899b6G0004933 for ; Fri, 9 Sep 2011 09:37:06 GMT Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p899b6fJ2297858 for ; Fri, 9 Sep 2011 10:37:06 +0100 Received: from d06av06.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p899b5OO006111 for ; Fri, 9 Sep 2011 03:37:06 -0600 From: Stefan Hajnoczi Date: Fri, 9 Sep 2011 10:37:00 +0100 Message-Id: <1315561022-25386-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/2] Make simpletrace work on Windows List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jan Kiszka , Stefan Hajnoczi The 'simple' trace backend uses pthreads and does not work on Windows. These patches switch from pthreads to glib so that the code builds on all platforms supported by glib. Only one thing I'm unhappy about: the simpletrace write-out thread used to block all signals. I have removed that code and don't expect glib to do it for me. I'm not sure if there is a problem if signal handlers are invoked in the write-out thread instead of a QEMU thread. Any thoughts? Stefan Hajnoczi (2): trace: portable simple trace backend using glib trace: use binary file open mode in simpletrace trace/simple.c | 58 ++++++++++++++++++++++++++----------------------------- 1 files changed, 27 insertions(+), 31 deletions(-) -- 1.7.5.4