From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5xbo-0006aC-OX for qemu-devel@nongnu.org; Tue, 20 Sep 2011 06:31:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R5xbn-0000UO-4t for qemu-devel@nongnu.org; Tue, 20 Sep 2011 06:31:24 -0400 Received: from thoth.sbs.de ([192.35.17.2]:20425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5xbm-0000UK-L8 for qemu-devel@nongnu.org; Tue, 20 Sep 2011 06:31:23 -0400 Message-ID: <4E786B74.7060704@siemens.com> Date: Tue, 20 Sep 2011 12:31:16 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1315561022-25386-1-git-send-email-stefanha@linux.vnet.ibm.com> <1315561022-25386-2-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1315561022-25386-2-git-send-email-stefanha@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/2] trace: portable simple trace backend using glib List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org On 2011-09-09 11:37, Stefan Hajnoczi wrote: > Convert the simple trace backend to glib so that it works under Windows. > We cannot use pthread directly but glib provides portable abstractions. > Also use glib atomics instead of newish gcc builtins which may not be > supported on Windows toolchains. Please avoid restrictive glib thread services. We have qemu_thread abstractions that allow central tuning (will be needed e.g. to adjust scheduling parameters). I'm currently on the way to eliminate remaining pthread users and add some missing bits to qemu_thread/cond. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux