On Fri, Dec 23, 2016 at 05:28:56PM +0300, Vladimir Sementsov-Ogievskiy wrote: > Simple add coroutine to self->co_queue_wakeup. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]> > --- > include/qemu/coroutine.h | 2 ++ > util/qemu-coroutine.c | 7 +++++++ > 2 files changed, 9 insertions(+) > > diff --git a/include/qemu/coroutine.h b/include/qemu/coroutine.h > index e6a60d5..6e87c87 100644 > --- a/include/qemu/coroutine.h > +++ b/include/qemu/coroutine.h > @@ -226,4 +226,6 @@ void coroutine_fn co_aio_sleep_ns(AioContext *ctx, > QEMUClockType type, > */ > void coroutine_fn yield_until_fd_readable(int fd); > > +void qemu_coroutine_add_next(Coroutine *next);
Missing coroutine_fn. Please add a doc comment and a testcase in tests/test-coroutine.c.
signature.asc
Description: PGP signature
