diff options
author | Felix Arends <edx@rockbox.org> | 2002-10-16 16:26:09 +0000 |
---|---|---|
committer | Felix Arends <edx@rockbox.org> | 2002-10-16 16:26:09 +0000 |
commit | 879fabdb1de9a08bb84720059e02783aa4f393c7 (patch) | |
tree | 490eb22af7110e6428374caae052db6d0bcf5684 /uisimulator/win32/kernel.c | |
parent | e45c069d6993137af80fac30ac1b701b3f669d91 (diff) | |
download | rockbox-879fabdb1de9a08bb84720059e02783aa4f393c7.tar.gz rockbox-879fabdb1de9a08bb84720059e02783aa4f393c7.zip |
finally up-to-date: the win32 simulator (at least for the recorder)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2685 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32/kernel.c')
-rw-r--r-- | uisimulator/win32/kernel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/uisimulator/win32/kernel.c b/uisimulator/win32/kernel.c index 3410bc9cc9..045b03d330 100644 --- a/uisimulator/win32/kernel.c +++ b/uisimulator/win32/kernel.c | |||
@@ -31,6 +31,7 @@ void sleep(int ticks) | |||
31 | 31 | ||
32 | void yield (void) | 32 | void yield (void) |
33 | { | 33 | { |
34 | Sleep (1); /* prevent busy loop */ | ||
34 | PostThreadMessage (GetWindowThreadProcessId (hGUIWnd,NULL), TM_YIELD, 0, 0); | 35 | PostThreadMessage (GetWindowThreadProcessId (hGUIWnd,NULL), TM_YIELD, 0, 0); |
35 | } | 36 | } |
36 | 37 | ||