Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Id5BO-0007d9-MY for qemu-devel@nongnu.org; Wed, 03 Oct 2007 10:26:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Id5BM-0007Z4-Ip for qemu-devel@nongnu.org; Wed, 03 Oct 2007 10:26:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Id5BM-0007Ya-Ai for qemu-devel@nongnu.org; Wed, 03 Oct 2007 10:26:36 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Id5BL-0002Sb-Qx for qemu-devel@nongnu.org; Wed, 03 Oct 2007 10:26:36 -0400 From: Clemens Kolbitsch Subject: Re: Re: [Qemu-devel] using pthread in qemu Date: Wed, 3 Oct 2007 16:26:32 +0200 References: <20071003141927.18033gmx1@mx091.gmx.net> In-Reply-To: <20071003141927.18033gmx1@mx091.gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710031626.32327.clemens.kol@gmx.at> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Wednesday 03 October 2007 16:16:55 qemu-devel-request@nongnu.org wrote: > Hi, > > On 03/10/2007, Clemens Kolbitsch wrote: > > hi! > > i know... i have been told not to use them, but i just HAVE TO for the > > moment :-( > > > > i need to run a second thread inside my hardware module which is not a > > problem as long as i don't use the qcow2 image format. when i switch to > > qcow2, qemu's main thread hangs because the second thread is waiting for > > a semaphore... > > > > does anyone know how to tell the second pthread not to block the primary > > thread?? > > Maybe this thread can be helpful: > http://lists.gnu.org/archive/html/qemu-devel/2007-04/msg00090.html yes.. that might have been helpful if I hadn't solved the problem differently (and I'm quite happy to have gotten rid of the pthread code ;-) ) Thanks for the answer, though!!