qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/3] New sigaltstack method for coroutine


From: Alex Barcelo
Subject: [Qemu-devel] [PATCH 0/3] New sigaltstack method for coroutine
Date: Mon, 13 Feb 2012 15:42:27 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]