From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=58570 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8HQv-0005IZ-M7 for qemu-devel@nongnu.org; Tue, 19 Oct 2010 15:01:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8HQq-0001JB-Fj for qemu-devel@nongnu.org; Tue, 19 Oct 2010 15:01:13 -0400 Received: from mail-qy0-f173.google.com ([209.85.216.173]:46986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8HQq-0001J4-Cv for qemu-devel@nongnu.org; Tue, 19 Oct 2010 15:01:08 -0400 Received: by qyl33 with SMTP id 33so654575qyl.4 for ; Tue, 19 Oct 2010 12:01:07 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4CBDEAEF.4080207@redhat.com> Date: Tue, 19 Oct 2010 21:01:03 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20101019173946.16514.62027.stgit@localhost6.localdomain6> <20101019174245.16514.14542.stgit@localhost6.localdomain6> <20101019183644.GI15844@balbir.in.ibm.com> In-Reply-To: <20101019183644.GI15844@balbir.in.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 1/3] Introduce threadlets List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: balbir@linux.vnet.ibm.com Cc: Arun R Bharadwaj , qemu-devel@nongnu.org On 10/19/2010 08:36 PM, Balbir Singh wrote: > Ideally you need > > s = pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL); > > But qemu will need to wrap this around as well. Why? QEMU is never using thread cancellation. Paolo