[5577] Main loop fixes/cleanup
Revision: 5577
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5577 Author: aliguori Date: 2008-10-31 18:07:17 +0000 (Fri, 31 Oct 2008)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/sysemu.h
trunk/vl.c
Modified: trunk/sysemu.h
===================================================================
sysemu.h +1 -1
@@ -58,6 +58,7 @@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 @@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);
Modified: trunk/vl.c
===================================================================
vl.c +47 -17
112 lines not on this page · raw message