icount: Take iothread lock when running QEMU timers
[qemu/ar7.git] / stubs / iothread-lock-block.c
blobc88ed70462514bf65ca98e9e749f387901f5cbc4
1 #include "qemu/osdep.h"
2 #include "qemu/main-loop.h"
4 bool qemu_in_main_thread(void)
6 return qemu_get_current_aio_context() == qemu_get_aio_context();