[Bug 94662] Coroutines may be messing up with GTask's return

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 22 20:54:27 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94662

--- Comment #1 from Marc-Andre Lureau <marcandre.lureau at gmail.com> ---
No conflict for me, the task GMainContext is the same (there is no thread etc).
It makes sense that there has been further main loop iteration before the task
returns. spicevmc want to return in idle, so the caller resumes in "main"
coroutine context. I don't know what happens if you do the task return from the
coroutine. Most likely, this ends in laster coroutine yields errors if the
resume function do not deal well with coroutine contexts.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-bugs/attachments/20160322/d8f46b7e/attachment.html>


More information about the spice-bugs mailing list