diff options
Diffstat (limited to 'include/qemu/main-loop.h')
-rw-r--r-- | include/qemu/main-loop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qemu/main-loop.h b/include/qemu/main-loop.h index 3fa7cfe..470f600 100644 --- a/include/qemu/main-loop.h +++ b/include/qemu/main-loop.h @@ -64,11 +64,11 @@ int qemu_init_main_loop(Error **errp); * * void enter_co_bh(void *opaque) { * QEMUCoroutine *co = opaque; - * qemu_coroutine_enter(co, NULL); + * qemu_coroutine_enter(co); * } * * ... - * QEMUCoroutine *co = qemu_coroutine_create(coroutine_entry); + * QEMUCoroutine *co = qemu_coroutine_create(coroutine_entry, NULL); * QEMUBH *start_bh = qemu_bh_new(enter_co_bh, co); * qemu_bh_schedule(start_bh); * while (...) { |