summaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-31 18:07:17 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-31 18:07:17 +0000
commit56f3a5d01e435da0175e679d8a827d605a18e081 (patch)
tree641fae9c1ec7b0432d200d7ca5e1c1f6d12c6b9f /sysemu.h
parent80d3580b29d84221650fd2dc7f26706d50f21197 (diff)
downloadqemu-56f3a5d01e435da0175e679d8a827d605a18e081.zip
Main loop fixes/cleanup
Tidy up win32 main loop bits, allow timeout >= 1s, and force timeout to 0 if there is a pending bottom half. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5577 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysemu.h b/sysemu.h
index 976fecc8d7..e71b34191d 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -58,6 +58,7 @@ int qemu_savevm_state_complete(QEMUFile *f);
int qemu_savevm_state(QEMUFile *f);
int qemu_loadvm_state(QEMUFile *f);
+#ifdef _WIN32
/* Polling handling */
/* return TRUE if no sleep should be done afterwards */
@@ -66,7 +67,6 @@ typedef int PollingFunc(void *opaque);
int qemu_add_polling_cb(PollingFunc *func, void *opaque);
void qemu_del_polling_cb(PollingFunc *func, void *opaque);
-#ifdef _WIN32
/* Wait objects handling */
typedef void WaitObjectFunc(void *opaque);