Re: [Qemu-devel] [PATCH v5 3/5] coroutine: implement coroutines using gthread

2011-06-29 Thread Alexandre Raymond
Hi Andreas, > This fixes Darwin/ppc64 (and ppc) v10.5. > Don't know whether v10.6 / i386 might have a working implementation (cc'ing > Alexand{re,er}). In 10.6, I get the following error when I try to compile a simple getcontext(): /usr/include/ucontext.h:42:2: error: #error ucontext routines are

Re: [Qemu-devel] [PATCH v5 3/5] coroutine: implement coroutines using gthread

2011-06-25 Thread Andreas Färber
Am 12.06.2011 um 22:46 schrieb Stefan Hajnoczi: From: "Aneesh Kumar K.V" On platforms that don't support makecontext(3) use gthread based coroutine implementation. [Original patch by Aneesh, made consistent with coroutine-ucontext.c and switched to GStaticPrivate by Stefan. Tested on Linu

[Qemu-devel] [PATCH v5 3/5] coroutine: implement coroutines using gthread

2011-06-12 Thread Stefan Hajnoczi
From: "Aneesh Kumar K.V" On platforms that don't support makecontext(3) use gthread based coroutine implementation. [Original patch by Aneesh, made consistent with coroutine-ucontext.c and switched to GStaticPrivate by Stefan. Tested on Linux and OpenBSD.] Signed-off-by: Aneesh Kumar K.V Sign