BACKENDS: Refactor the API for creating Mutexes
This commit is contained in:
parent
dcd537337b
commit
5022489277
40 changed files with 341 additions and 336 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue