[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] WIP coroutine support in GLib
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] WIP coroutine support in GLib |
Date: |
Tue, 26 Nov 2013 16:12:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 |
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