aboutsummaryrefslogtreecommitdiffstats
path: root/android/looper-qemu.c
diff options
context:
space:
mode:
Diffstat (limited to 'android/looper-qemu.c')
-rw-r--r--android/looper-qemu.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/android/looper-qemu.c b/android/looper-qemu.c
index cce0bfa..5526f5b 100644
--- a/android/looper-qemu.c
+++ b/android/looper-qemu.c
@@ -254,11 +254,19 @@ qloopio_free(void* impl)
qemu_free(io);
}
+static unsigned
+qloopio_poll(void* impl)
+{
+ QLoopIo* io = impl;
+ return io->ready;
+}
+
static const LoopIoClass qlooper_io_class = {
qloopio_wantRead,
qloopio_wantWrite,
qloopio_dontWantRead,
qloopio_dontWantWrite,
+ qloopio_poll,
qloopio_free
};