[Spice-devel] [spice-gtk] Fix IN_MAIN_CONTEXT when using coroutine=gthread

Christophe Fergeau cfergeau at redhat.com
Fri Nov 15 07:17:56 PST 2013


On Fri, Nov 15, 2013 at 04:05:55PM +0100, Christophe Fergeau wrote:
> However, this is an
> implementation detail of the ucontext coroutine implementation, in the
> gthread implementation, coroutine_self()->caller will be non-NULL even in
> the main context.

NB: Maybe the actual bug is that coroutine_self()->caller in non-NULL for
the main context in the gthread backend, but I'm not familiar enough with
the coroutine code to know that.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20131115/49113eef/attachment.pgp>


More information about the Spice-devel mailing list