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:
parent
7404d5662d
commit
8f0c739f87
3 changed files with 62 additions and 86 deletions
|
@ -41,7 +41,6 @@ Engine::Engine(GameDetector *detector, OSystem *syst)
|
|||
g_system = _system;
|
||||
g_mixer = _mixer;
|
||||
_timer = new Timer(this);
|
||||
_timer->init();
|
||||
}
|
||||
|
||||
Engine::~Engine() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue