Timer now uses a mutex, which should make it thread safe (it wasn't before, particuarly bad if timers are implemented via threads), plus this should help in fixing race conditions in classes using class Timer

svn-id: r8722
This commit is contained in:
Max Horn 2003-07-03 11:18:07 +00:00
parent 7404d5662d
commit 8f0c739f87
3 changed files with 62 additions and 86 deletions

View file

@ -41,7 +41,6 @@ Engine::Engine(GameDetector *detector, OSystem *syst)
g_system = _system;
g_mixer = _mixer;
_timer = new Timer(this);
_timer->init();
}
Engine::~Engine() {