From f64ebb1c1f10e8d15fcc4879d781703c86c5fb8b Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 8 Sep 2007 12:20:53 +0000 Subject: 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 --- uisimulator/sdl/thread-sdl.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'uisimulator/sdl/thread-sdl.h') 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 @@ #include "SDL_thread.h" -extern SDL_Thread* threads[256]; -extern int threadCount; -extern SDL_mutex* mutex; +extern SDL_Thread *gui_thread; /* The "main" thread */ +void kill_sim_threads(); /* Kill all the rockbox sim threads */ #endif /* #ifndef __THREADSDL_H__ */ -- cgit v1.2.3