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

Marc-André Lureau marcandre.lureau at gmail.com
Fri Nov 15 13:21:28 PST 2013


On Fri, Nov 15, 2013 at 6:34 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> On Fri, Nov 15, 2013 at 11:56:03AM -0500, Marc-André Lureau wrote:
>> ack for your patch, comparing to the static "leader" seems the correct thing to do.
>
> It will need a v2:
>
> In file included from coroutine_ucontext.c:29:0:
> coroutine.h:71:1: error: unknown type name 'gboolean'
>  gboolean coroutine_is_main_context(struct coroutine *co);
>  ^
> coroutine_ucontext.c:134:1: error: unknown type name 'gboolean'
>  gboolean coroutine_is_main_context(struct coroutine *co)
>  ^

ok, I also sent a few patches for coroutine*, where I include <glib.h>
(though not in coroutine.h). Originally it was a few files without
glib dependency, but I don't think we should restrict ourselves.

> make[4]: *** [coroutine_ucontext.lo] Error 1
> make[4]: *** Waiting for unfinished jobs....
>
> Probably won't come before Monday :)
>
> Christophe
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>



-- 
Marc-André Lureau


More information about the Spice-devel mailing list