Projet_SETI_RISC-V/riscv-gnu-toolchain/qemu/stubs/iothread-lock-block.c
2023-03-06 14:48:14 +01:00

8 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();
}