Upstream: https://gitlab.com/qemu-project/qemu.git Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
9 lines
158 B
C
9 lines
158 B
C
#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();
|
|
}
|
|
|