Commit 38e205a2 authored by bellard's avatar bellard
Browse files

win32: do not use all cpu time


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@709 c046a42c-6fe2-441c-8c8c-71466251a162
parent e1a23744
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment