qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3] New sigaltstack backend for coroutine
@ 2012-02-28 11:25 Alex Barcelo
  2012-02-28 11:25 ` [Qemu-devel] [PATCH v2 1/3] coroutine: adding sigaltstack method (.c source) Alex Barcelo
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Alex Barcelo @ 2012-02-28 11:25 UTC (permalink / raw)
  To: qemu-devel, 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-03-09 17:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-28 11:25 [Qemu-devel] [PATCH v2 0/3] New sigaltstack backend for coroutine Alex Barcelo
2012-02-28 11:25 ` [Qemu-devel] [PATCH v2 1/3] coroutine: adding sigaltstack method (.c source) Alex Barcelo
2012-02-28 11:25 ` [Qemu-devel] [PATCH v2 2/3] coroutine: adding configure choose mechanism for coroutine backend Alex Barcelo
2012-02-28 11:25 ` [Qemu-devel] [PATCH v2 3/3] coroutine: adding configure option for sigaltstack " Alex Barcelo
2012-03-07 22:01 ` [Qemu-devel] [PATCH v2 0/3] New sigaltstack backend for coroutine Alex Barcelo
2012-03-07 22:17   ` Peter Maydell
2012-03-07 22:44     ` Alex Barcelo
2012-03-07 23:03       ` Peter Maydell
2012-03-08 10:15       ` Stefan Hajnoczi
2012-03-09 17:22 ` Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).