From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvOEv-0008VG-Lt for qemu-devel@nongnu.org; Thu, 09 Feb 2012 02:16:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvOEn-000235-F5 for qemu-devel@nongnu.org; Thu, 09 Feb 2012 02:16:21 -0500 Received: from plane.gmane.org ([80.91.229.3]:38568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvOEn-000230-8f for qemu-devel@nongnu.org; Thu, 09 Feb 2012 02:16:13 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RvOEk-0003YV-J5 for qemu-devel@nongnu.org; Thu, 09 Feb 2012 08:16:10 +0100 Received: from 93-34-182-16.ip50.fastwebnet.it ([93.34.182.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Feb 2012 08:16:10 +0100 Received: from pbonzini by 93-34-182-16.ip50.fastwebnet.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Feb 2012 08:16:10 +0100 From: Paolo Bonzini Date: Thu, 09 Feb 2012 08:15:59 +0100 Message-ID: References: <20120130095248.GA44267@cs.nctu.edu.tw> <20120206101544.GB354@stefanha-thinkpad.localdomain> <20120207024408.GA76822@cs.nctu.edu.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: Subject: Re: [Qemu-devel] spawning and killing threads in qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 02/09/2012 03:40 AM, Xin Tong wrote: > can you show me where these threads get created in the qemu code ? It's in posix-aio-compat.c. The code is invoked by block/raw-posix.c. Paolo