summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-27 06:54:07 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-27 06:54:07 +0000
commit76ccd61537a3767be03324dd3c9b61eb12df3d71 (patch)
tree4f790cfc95f52c4f031fd3b73d960b47af87ad9c /uisimulator
parentff351c1fcc35ab7788c41c63de29082997200dba (diff)
make yield() simply do a short sleep when simulated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@716 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/x11/kernel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/x11/kernel.h b/uisimulator/x11/kernel.h
index 32c7d9beb9..7d4f4f3912 100644
--- a/uisimulator/x11/kernel.h
+++ b/uisimulator/x11/kernel.h
@@ -22,3 +22,5 @@
#define sleep(x) x11_sleep(x)
void x11_sleep(int);
+
+#define yield() x11_sleep(5)