diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/system.cpp | 30 | 
1 files changed, 0 insertions, 30 deletions
diff --git a/common/system.cpp b/common/system.cpp index 0168cf482c..41e66050b4 100644 --- a/common/system.cpp +++ b/common/system.cpp @@ -90,33 +90,3 @@ void OSystem::displayMessageOnOSD(const char *msg) {  SaveFileManager *OSystem::getSavefileManager() {  	return new DefaultSaveFileManager();  } - -#pragma mark - - - -namespace Common { - -StackLock::StackLock(OSystem::MutexRef mutex, const char *mutexName) -	: _mutex(mutex), _mutexName(mutexName) { -	lock(); -} - -StackLock::~StackLock() { -	unlock(); -} - -void StackLock::lock() { -	if (_mutexName != NULL) -		debug(6, "Locking mutex %s", _mutexName); -	 -	g_system->lockMutex(_mutex); -} - -void StackLock::unlock() { -	if (_mutexName != NULL) -		debug(6, "Unlocking mutex %s", _mutexName); - -	g_system->unlockMutex(_mutex); -} - -}	// End of namespace Common  | 
