summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/thread-sdl.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-09-08 12:20:53 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-09-08 12:20:53 +0000
commitf64ebb1c1f10e8d15fcc4879d781703c86c5fb8b (patch)
tree065072709c699ac6dc3eb640368bd3f4106144e4 /uisimulator/sdl/thread-sdl.h
parent69b4654ea28049c7e8637d521327ba10ae405f8b (diff)
downloadrockbox-f64ebb1c1f10e8d15fcc4879d781703c86c5fb8b.tar.gz
rockbox-f64ebb1c1f10e8d15fcc4879d781703c86c5fb8b.zip
Sim I/O and threading that runs more like on target. Tweakable if any genuine slowness imitation is required for any one of them. One point of concern is the sim shutdown on an OS other than Linux just because terminating threads in a manner other than having the do it themselves is kind of dirty IMHO.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14639 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/thread-sdl.h')
-rw-r--r--uisimulator/sdl/thread-sdl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/uisimulator/sdl/thread-sdl.h b/uisimulator/sdl/thread-sdl.h
index 0bb6ded0d5..20641fb673 100644
--- a/uisimulator/sdl/thread-sdl.h
+++ b/uisimulator/sdl/thread-sdl.h
@@ -22,9 +22,8 @@
22 22
23#include "SDL_thread.h" 23#include "SDL_thread.h"
24 24
25extern SDL_Thread* threads[256]; 25extern SDL_Thread *gui_thread; /* The "main" thread */
26extern int threadCount; 26void kill_sim_threads(); /* Kill all the rockbox sim threads */
27extern SDL_mutex* mutex;
28 27
29#endif /* #ifndef __THREADSDL_H__ */ 28#endif /* #ifndef __THREADSDL_H__ */
30 29