[Scummvm-git-logs] scummvm master -> b97c514dfb32c9df97405f7e58c797d811fb4b6b

sev- sev at scummvm.org
Wed Jul 29 23:57:31 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b97c514dfb BACKENDS: Another attempt to fix race condition on slow systems


Commit: b97c514dfb32c9df97405f7e58c797d811fb4b6b
    https://github.com/scummvm/scummvm/commit/b97c514dfb32c9df97405f7e58c797d811fb4b6b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-07-30T01:57:06+02:00

Commit Message:
BACKENDS: Another attempt to fix race condition on slow systems

Changed paths:
    backends/timer/sdl/sdl-timer.cpp


diff --git a/backends/timer/sdl/sdl-timer.cpp b/backends/timer/sdl/sdl-timer.cpp
index a1e34c8d20..66031cd4ba 100644
--- a/backends/timer/sdl/sdl-timer.cpp
+++ b/backends/timer/sdl/sdl-timer.cpp
@@ -29,7 +29,7 @@
 
 #include "common/textconsole.h"
 
-static bool timerInstalled = false;
+static volatile bool timerInstalled = false;
 
 static Uint32 timer_handler(Uint32 interval, void *param) {
 	if (!timerInstalled)




More information about the Scummvm-git-logs mailing list