All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@gmail.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
	qemu-devel@nongnu.org, stefanha@redhat.com
Subject: Re: [Qemu-devel] WIP coroutine support in GLib
Date: Tue, 26 Nov 2013 16:12:13 +0100	[thread overview]
Message-ID: <5294BA4D.7000709@redhat.com> (raw)
In-Reply-To: <CAJ+F1C+qCL-+1hh1a53Dx9iiPABk1TXyTLb+SqprSeut64J4kQ@mail.gmail.com>

Il 26/11/2013 16:06, Marc-André Lureau ha scritto:
> Hi there,
> 
> At least 3 glib projects share a similar coroutine implementation
> (gtk-vnc, spice-gtk and qemu). So I decided to propose adding
> coroutine support in GLib. I made some changes regarding the API to be
> slightly more generic. I invite you to review and participate to the
> RFC bug https://bugzilla.gnome.org/show_bug.cgi?id=719362.
> 
> If the proposal isn't refused, I'll keep working on it as it's
> incomplete at this point and will provide a qemu patch as a proof of
> concept.

Note that makecontext does not work on at least ARM (and I think some
BSDs too), hence the sigaltstack-based implementation that QEMU has.
Unfortunately, I don't think glib can "steal" a signal from the
application like QEMU does.

Paolo

  reply	other threads:[~2013-11-26 15:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26 15:06 [Qemu-devel] WIP coroutine support in GLib Marc-André Lureau
2013-11-26 15:12 ` Paolo Bonzini [this message]
2013-11-26 15:21   ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5294BA4D.7000709@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=marcandre.lureau@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.