[Bug 176150] Re: Please sponsor gtk-vnc_0.3.1 into Hardy

Daniel Holbach daniel.holbach at ubuntu.com
Fri Dec 14 09:45:28 GMT 2007


Two symbols were renamed (removed) in this update:

-void *yieldto(struct coroutine *to, void *arg)
+void *coroutine_yieldto(struct coroutine *to, void *arg)
 {
+       if (to->caller) {
+               fprintf(stderr, "Co-routine is re-entering itself\n");
+               abort();
+       }
+       to->caller = coroutine_self();
        return coroutine_swap(coroutine_self(), to, arg);
 }
 
-void *yield(void *arg)
+void *coroutine_yield(void *arg)
 {
-       return yieldto(coroutine_self()->caller, arg);
+       struct coroutine *to = coroutine_self()->caller;
+       if (!to) {
+               fprintf(stderr, "Co-routine is yielding to no one\n");
+               abort();
+       }
+       coroutine_self()->caller = NULL;
+       return coroutine_swap(coroutine_self(), to, arg);
 }

-- 
Please sponsor gtk-vnc_0.3.1 into Hardy
https://bugs.launchpad.net/bugs/176150
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list