Import QEMU upstream snapshot d2e570c
Upstream: https://gitlab.com/qemu-project/qemu.git Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/main-loop.h"
|
||||
|
||||
bool qemu_in_main_thread(void)
|
||||
{
|
||||
return qemu_get_current_aio_context() == qemu_get_aio_context();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user