BACKENDS: Refactor the API for creating Mutexes

This commit is contained in:
Cameron Cawley 2021-08-24 23:53:21 +01:00 committed by Eugene Sandulenko
parent dcd537337b
commit 5022489277
40 changed files with 341 additions and 336 deletions

View file

@ -425,7 +425,6 @@ void OSystem_Android::initBackend() {
// TODO remove the debug message eventually
LOGD("Setting DefaultSaveFileManager path to: %s", ConfMan.get("savepath").c_str());
_mutexManager = new PthreadMutexManager();
_timerManager = new DefaultTimerManager();
_event_queue_lock = new Common::Mutex();
@ -559,6 +558,10 @@ void OSystem_Android::delayMillis(uint msecs) {
usleep(msecs * 1000);
}
Common::MutexInternal *OSystem_Android::createMutex() {
return createPthreadMutexInternal();
}
void OSystem_Android::quit() {
ENTER();