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

Marc-André Lureau mlureau at redhat.com
Fri Nov 15 07:45:42 PST 2013



----- Original Message -----
> 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.

I don't see when coroutine_self()->caller could be non-null in main coroutine, even with gthread backend.

Do you think you could trace that? it could indicate a bigger problem.


More information about the Spice-devel mailing list