OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a2374
)
win32: do not use all cpu time
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 6 Apr 2004 19:29:17 +0000
(19:29 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 6 Apr 2004 19:29:17 +0000
(19:29 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@709
c046a42c
-6fe2-441c-8c8c-
71466251a162
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index
1e1b5e3
..
84e8698
100644
(file)
--- a/
vl.c
+++ b/
vl.c
@@
-1529,7
+1529,11
@@
int main_loop(void)
timeout = 10;
}
-#ifndef _WIN32
+#ifdef _WIN32
+ if (timeout > 0)
+ Sleep(timeout);
+#else
+
/* poll any events */
/* XXX: separate device handlers from system ones */
pf = ufds;