mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
link the main loop and its dependencies into the tools
Using the main loop code from QEMU enables tools to operate fully asynchronously. Advantages include better Windows portability (for some definition of portability) over glib's. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
d9a7380658
commit
cbcfa0418f
7 changed files with 86 additions and 74 deletions
|
@ -118,3 +118,8 @@ int qemu_gettimeofday(qemu_timeval *tp)
|
|||
Do not set errno on error. */
|
||||
return 0;
|
||||
}
|
||||
|
||||
int qemu_get_thread_id(void)
|
||||
{
|
||||
return GetCurrentThreadId();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue