iothread-lock-block.c (158B)
1 #include "qemu/osdep.h" 2 #include "qemu/main-loop.h" 3 4 bool qemu_in_main_thread(void) 5 { 6 return qemu_get_current_aio_context() == qemu_get_aio_context(); 7 } 8
qemuFORK: QEMU emulator | |
| git clone https://git.neptards.moe/neptards/qemu.git | |
| Log | Files | Refs | Submodules | LICENSE |