From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:37526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rwx7I-000182-Lg for qemu-devel@nongnu.org; Mon, 13 Feb 2012 09:43:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rwx7C-0004pe-8n for qemu-devel@nongnu.org; Mon, 13 Feb 2012 09:42:56 -0500 Received: from mail-ey0-f173.google.com ([209.85.215.173]:63232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rwx7C-0004pN-2x for qemu-devel@nongnu.org; Mon, 13 Feb 2012 09:42:50 -0500 Received: by eaac1 with SMTP id c1so1872769eaa.4 for ; Mon, 13 Feb 2012 06:42:48 -0800 (PST) Sender: Alex Barcelo From: Alex Barcelo Date: Mon, 13 Feb 2012 15:42:27 +0100 Message-Id: <1329144150-7720-1-git-send-email-abarcelo@ac.upc.edu> Subject: [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). It's my first patch, I'm sure that there are things that I have done wrong. Please, be kind :) Thanks for your time Alex Barcelo (3): coroutine: adding sigaltstack method (.c source) coroutine: adding control flags (enable/disable) for ucontext compilation coroutine: adding enable/disable options for sigaltstack method Makefile.objs | 4 + configure | 63 +++++++++- coroutine-sigaltstack.c | 337 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 401 insertions(+), 3 deletions(-) create mode 100644 coroutine-sigaltstack.c -- 1.7.5.4