From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SguvO-0004ch-DI for qemu-devel@nongnu.org; Tue, 19 Jun 2012 05:40:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SguvI-0006dg-7d for qemu-devel@nongnu.org; Tue, 19 Jun 2012 05:40:37 -0400 Received: from e28smtp09.in.ibm.com ([122.248.162.9]:53616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SguvH-0006bw-J1 for qemu-devel@nongnu.org; Tue, 19 Jun 2012 05:40:32 -0400 Received: from /spool/local by e28smtp09.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 19 Jun 2012 15:00:13 +0530 Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay04.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q5J9UAiL63766668 for ; Tue, 19 Jun 2012 15:00:10 +0530 Received: from d28av02.in.ibm.com (loopback [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q5JF0n7e005521 for ; Wed, 20 Jun 2012 01:00:49 +1000 Date: Tue, 19 Jun 2012 15:01:16 +0530 From: Bharata B Rao Message-ID: <20120619093116.GD27963@in.ibm.com> References: <20120611141806.GA2737@in.ibm.com> <20120611142026.GC2737@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [Qemu-devel] [RFC PATCH 2/3] block: GlusterFS helpers to interface with libglusterfs Reply-To: bharata@linux.vnet.ibm.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Amar Tumballi , qemu-devel@nongnu.org, Vijay Bellur On Mon, Jun 18, 2012 at 06:35:52PM +0100, Stefan Hajnoczi wrote: > On Mon, Jun 11, 2012 at 3:20 PM, Bharata B Rao > wrote: > > +    ret = pthread_create(&thread, NULL, gluster_handle_poll, > > +    (void *)gctx); > > Please use qemu-thread.h. QEMU uses signals so you almost certainly > want to mask signals for this thread (qemu_thread_create() does that). Ok. This is temporary since this entire patch (2/3) would be redundant when we have libglusterfsclient working. Regards, Bharata.