aboutsummaryrefslogtreecommitdiff
path: root/os-win32.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-09-12 16:20:11 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2011-12-22 11:53:58 +0100
commitcbcfa0418f0c196afa765f5c9837b9344d1adcf3 (patch)
treed6d9700577d061ddde7e7bf860a72b0de9a2aaed /os-win32.c
parentd9a73806585fd89f75f0c411839151863dac7f61 (diff)
downloadqemu-cbcfa0418f0c196afa765f5c9837b9344d1adcf3.zip
qemu-cbcfa0418f0c196afa765f5c9837b9344d1adcf3.tar.gz
qemu-cbcfa0418f0c196afa765f5c9837b9344d1adcf3.tar.bz2
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>
Diffstat (limited to 'os-win32.c')
-rw-r--r--os-win32.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/os-win32.c b/os-win32.c
index 8523d8d..ad76370 100644
--- a/os-win32.c
+++ b/os-win32.c
@@ -151,8 +151,3 @@ int qemu_create_pidfile(const char *filename)
}
return 0;
}
-
-int qemu_get_thread_id(void)
-{
- return GetCurrentThreadId();
-}