Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Id3zm-00064S-AO for qemu-devel@nongnu.org; Wed, 03 Oct 2007 09:10:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Id3zk-000639-EH for qemu-devel@nongnu.org; Wed, 03 Oct 2007 09:10:33 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Id3zk-00062z-7Z for qemu-devel@nongnu.org; Wed, 03 Oct 2007 09:10:32 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Id3zj-00062i-Cz for qemu-devel@nongnu.org; Wed, 03 Oct 2007 09:10:31 -0400 From: Clemens Kolbitsch Date: Wed, 3 Oct 2007 15:10:27 +0200 References: <20071002175756.24785gmx1@mx005.gmx.net> <200710031304.33153.clemens.kol@gmx.at> In-Reply-To: <200710031304.33153.clemens.kol@gmx.at> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710031510.27565.clemens.kol@gmx.at> Subject: [Qemu-devel] Re: using pthread in qemu 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 13:04:33 you 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?? > > as always --- any help is greatly appreciated!! > Clemens ok... i solved my problem using the qemu_timers works just fine ;-)