[Spice-devel] [spice-gtk RFC 0/3] coroutine: Make signal/notify coroutine code more robust against unexpected coroutine_init()

Christophe Fergeau cfergeau at redhat.com
Mon Feb 23 04:53:35 PST 2015


On Mon, Feb 23, 2015 at 01:44:43PM +0100, Marc-André Lureau wrote:
> On Mon, Feb 23, 2015 at 1:43 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> > Nope, the coroutine was properly finished when I got the issue, but
> > there was still a queued signal/notify.
> 
> 
> Then there is a missing warning, because the coroutine should track
> it's own idle.

How does it track it? The idle id is only kept within
g_coroutine_signal_emit/g_coroutine_notify , the coroutine does not know
something is pending.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150223/4e3f5580/attachment.sig>


More information about the Spice-devel mailing list