BACKENDS: Another attempt to fix race condition on slow systems
This commit is contained in:
parent
43c33adea0
commit
b97c514dfb
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#include "common/textconsole.h"
|
#include "common/textconsole.h"
|
||||||
|
|
||||||
static bool timerInstalled = false;
|
static volatile bool timerInstalled = false;
|
||||||
|
|
||||||
static Uint32 timer_handler(Uint32 interval, void *param) {
|
static Uint32 timer_handler(Uint32 interval, void *param) {
|
||||||
if (!timerInstalled)
|
if (!timerInstalled)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue