Received: from eggs.gnu.org ([208.118.235.92]:36041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2LCT-0002AE-Ms for qemu-devel@nongnu.org; Tue, 28 Feb 2012 06:26:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2LCE-0007Um-8m for qemu-devel@nongnu.org; Tue, 28 Feb 2012 06:26:33 -0500 Received: from mail-we0-f173.google.com ([74.125.82.173]:43128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2LCD-0007UN-Vw for qemu-devel@nongnu.org; Tue, 28 Feb 2012 06:26:18 -0500 Received: by werp12 with SMTP id p12so1870298wer.4 for ; Tue, 28 Feb 2012 03:26:14 -0800 (PST) Sender: Alex Barcelo From: Alex Barcelo Date: Tue, 28 Feb 2012 12:25:48 +0100 Message-Id: <1330428351-6605-1-git-send-email-abarcelo@ac.upc.edu> Subject: [Qemu-devel] [PATCH v2 0/3] New sigaltstack backend for coroutine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Kevin Wolf Cc: 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). This v2 has some corrections and improved patches, but it's essentially the same. At the moment, the default backend is ucontext (the former default method for coroutines). Alex Barcelo (3): coroutine: adding sigaltstack method (.c source) coroutine: adding configure choose mechanism for coroutine backend coroutine: adding configure option for sigaltstack coroutine backend Makefile.objs | 4 + configure | 41 +++++- coroutine-sigaltstack.c | 334 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 371 insertions(+), 8 deletions(-) create mode 100644 coroutine-sigaltstack.c -- 1.7.5.4