From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxHzb-0007fe-D9 for qemu-devel@nongnu.org; Tue, 14 Feb 2012 08:00:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxHzN-0002vc-F2 for qemu-devel@nongnu.org; Tue, 14 Feb 2012 08:00:22 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:46214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxHzN-0002u1-6R for qemu-devel@nongnu.org; Tue, 14 Feb 2012 08:00:09 -0500 From: Paul Brook Date: Tue, 14 Feb 2012 13:00:02 +0000 References: <1329144150-7720-1-git-send-email-abarcelo@ac.upc.edu> In-Reply-To: <1329144150-7720-1-git-send-email-abarcelo@ac.upc.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Message-Id: <201202141300.03021.paul@codesourcery.com> Subject: Re: [Qemu-devel] [PATCH 0/3] New sigaltstack method for coroutine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Alex Barcelo > This series of patches implements coroutines method with > sigaltstack. > > The flow of creation and management of the coroutines is > quite similar to the coroutine-ucontext.c. The way to use > sigaltstack to achieve the needed stack manipulation is > done in a way quite similar to the GNU Portable Threads > (file pth_mctx.c, variant 2). Maybe I've missed something, but why not just use pth? Paul