Re: [Qemu-devel] [PATCH v7 2/4] coroutine: implement coroutines using gthread

2011-07-26 Thread Stefan Hajnoczi
On Mon, Jul 25, 2011 at 9:38 PM, Anthony Liguori wrote: > On 07/25/2011 03:04 PM, Stefan Hajnoczi wrote: >> >> From: "Aneesh Kumar K.V" >> >> On platforms that don't support makecontext(3) use gthread based >> coroutine implementation. >> >> Darwin has makecontext(3) but getcontext(3) is stubbed o

Re: [Qemu-devel] [PATCH v7 2/4] coroutine: implement coroutines using gthread

2011-07-25 Thread Anthony Liguori
On 07/25/2011 03:04 PM, Stefan Hajnoczi wrote: From: "Aneesh Kumar K.V" On platforms that don't support makecontext(3) use gthread based coroutine implementation. Darwin has makecontext(3) but getcontext(3) is stubbed out to return ENOTSUP. Andreas Färber debugged this and contributed the ./c

[Qemu-devel] [PATCH v7 2/4] coroutine: implement coroutines using gthread

2011-07-25 Thread Stefan Hajnoczi
From: "Aneesh Kumar K.V" On platforms that don't support makecontext(3) use gthread based coroutine implementation. Darwin has makecontext(3) but getcontext(3) is stubbed out to return ENOTSUP. Andreas Färber debugged this and contributed the ./configure test which solves the issue for Darwin/