From 56f3a5d01e435da0175e679d8a827d605a18e081 Mon Sep 17 00:00:00 2001 From: aliguori Date: Fri, 31 Oct 2008 18:07:17 +0000 Subject: 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 --- sysemu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysemu.h') 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); -- cgit v1.2.1