mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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:
parent
23825fdb43
commit
c5a2f543b2
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ struct thread_entry threads[MAXTHREADS];
|
||||||
* way to get them back in there so they may exit */
|
* way to get them back in there so they may exit */
|
||||||
static jmp_buf thread_jmpbufs[MAXTHREADS];
|
static jmp_buf thread_jmpbufs[MAXTHREADS];
|
||||||
static SDL_mutex *m;
|
static SDL_mutex *m;
|
||||||
static bool threads_exit = false;
|
static volatile bool threads_exit = false;
|
||||||
|
|
||||||
extern long start_tick;
|
extern long start_tick;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue