summaryrefslogblamecommitdiffstats
path: root/stubs/iothread-lock-block.c
blob: c88ed70462514bf65ca98e9e749f387901f5cbc4 (plain) (tree)
1
2
3
4
5
6
7
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();
}