From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKogV-0004iE-1R for qemu-devel@nongnu.org; Mon, 31 Oct 2011 06:01:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKogQ-0006G8-Pj for qemu-devel@nongnu.org; Mon, 31 Oct 2011 06:01:39 -0400 Received: from lo.gmane.org ([80.91.229.12]:33348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKogQ-0006Fq-Kj for qemu-devel@nongnu.org; Mon, 31 Oct 2011 06:01:34 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RKogL-00031N-QQ for qemu-devel@nongnu.org; Mon, 31 Oct 2011 11:01:29 +0100 Received: from 93-34-199-98.ip51.fastwebnet.it ([93.34.199.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Oct 2011 11:01:29 +0100 Received: from pbonzini by 93-34-199-98.ip51.fastwebnet.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Oct 2011 11:01:29 +0100 From: Paolo Bonzini Date: Mon, 31 Oct 2011 11:01:13 +0100 Message-ID: References: <1319993519-865-1-git-send-email-smizrahi@redhat.com> <1319993519-865-2-git-send-email-smizrahi@redhat.com> <4EAD91B1.40109@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <4EAD91B1.40109@redhat.com> Subject: Re: [Qemu-devel] [PATCH 2/2] [WIP]Added target to build libvdisk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 10/30/2011 07:04 PM, Saggi Mizrahi wrote: >> >> I wonder also what thread API should be used, qemu_thread versions >> used internally or standard ones. It would be logical to use >> qemu_thread versions but then the external user should use those too. > I would prefer not to use qemu's threading as it'll expose internal > APIs. I suggest glib's threading, Is it visible in any way to the client? Also, perhaps thread-safety should be left to the client so that they can use whatever API they like? Paolo