Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Id21v-00050O-E9 for qemu-devel@nongnu.org; Wed, 03 Oct 2007 07:04:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Id21s-0004vK-O0 for qemu-devel@nongnu.org; Wed, 03 Oct 2007 07:04:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Id21s-0004v8-Fz for qemu-devel@nongnu.org; Wed, 03 Oct 2007 07:04:36 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Id21r-0005qI-Uw for qemu-devel@nongnu.org; Wed, 03 Oct 2007 07:04:36 -0400 From: Clemens Kolbitsch Date: Wed, 3 Oct 2007 13:04:33 +0200 References: <20071002175756.24785gmx1@mx005.gmx.net> In-Reply-To: <20071002175756.24785gmx1@mx005.gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710031304.33153.clemens.kol@gmx.at> Subject: [Qemu-devel] 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 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