On Mon, Feb 23, 2015 at 1:46 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote: > I'm not exactly sure what you are suggesting me to do here. You could have a coroutine protocol to share data owned by the coroutine, for example: << ptr = coroutine_resume (co) >> coroutine ptr = alloc shared struct yield (ptr) This only depends on coroutine usage/patterns/protocol. I wouldn't recommend this though in most cases, since it requires some kind of synchronization with the coroutine for accessing the structure. -- Marc-André Lureau _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel