summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-01-08 12:40:18 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-01-08 12:40:18 +0000
commitc5a2f543b263eadaa7a61841b22c546274260972 (patch)
tree198fc7ce0c54ca868692268484e59760586bbd25 /uisimulator
parent23825fdb4365ae3ef0ea71fbfbb99cbba5317b39 (diff)
downloadrockbox-c5a2f543b263eadaa7a61841b22c546274260972.tar.gz
rockbox-c5a2f543b263eadaa7a61841b22c546274260972.zip
threads_exit should be volatile being polled in a loop on a sim thread and be written by the GUI thread.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19721 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/thread-sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/sdl/thread-sdl.c b/uisimulator/sdl/thread-sdl.c
index 1522f318a6..ef7c86c3b4 100644
--- a/uisimulator/sdl/thread-sdl.c
+++ b/uisimulator/sdl/thread-sdl.c
@@ -57,7 +57,7 @@ struct thread_entry threads[MAXTHREADS];
57 * way to get them back in there so they may exit */ 57 * way to get them back in there so they may exit */
58static jmp_buf thread_jmpbufs[MAXTHREADS]; 58static jmp_buf thread_jmpbufs[MAXTHREADS];
59static SDL_mutex *m; 59static SDL_mutex *m;
60static bool threads_exit = false; 60static volatile bool threads_exit = false;
61 61
62extern long start_tick; 62extern long start_tick;
63 63