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
This commit is contained in:
Michael Sevakis 2009-01-08 12:40:18 +00:00
parent 23825fdb43
commit c5a2f543b2

View file

@ -57,7 +57,7 @@ struct thread_entry threads[MAXTHREADS];
* way to get them back in there so they may exit */
static jmp_buf thread_jmpbufs[MAXTHREADS];
static SDL_mutex *m;
static bool threads_exit = false;
static volatile bool threads_exit = false;
extern long start_tick;