On Wed, Jan 26, 2011 at 05:29:23PM +0200, Avi Kivity wrote:
> On 01/22/2011 11:29 AM, Stefan Hajnoczi wrote:
> >Add functions to create coroutines and transfer control into a coroutine
> >and back out again.
> >
> >
> >+
> >+struct Coroutine {
> >+struct coroutine co;
> >+};
> >+
> >
> >+/**
>
On 01/26/2011 09:29 AM, Avi Kivity wrote:
On 01/22/2011 11:29 AM, Stefan Hajnoczi wrote:
Add functions to create coroutines and transfer control into a coroutine
and back out again.
+
+struct Coroutine {
+struct coroutine co;
+};
+
+/**
+ * Coroutine entry point
+ *
+ * When the coroutine
On 01/22/2011 11:29 AM, Stefan Hajnoczi wrote:
Add functions to create coroutines and transfer control into a coroutine
and back out again.
+
+struct Coroutine {
+struct coroutine co;
+};
+
+/**
+ * Coroutine entry point
+ *
+ * When the coroutine is entered for the first time, opaque is p
Add functions to create coroutines and transfer control into a coroutine
and back out again.
Signed-off-by: Stefan Hajnoczi
---
Makefile.objs|2 +-
qemu-coroutine.c | 40
qemu-coroutine.h | 76 ++
3 file