[Scummvm-cvs-logs] CVS: scummvm/common system.cpp,1.21,1.22

Max Horn fingolfin at users.sourceforge.net
Sat Jan 15 15:08:59 CET 2005


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11559

Modified Files:
	system.cpp 
Log Message:
Forgot to commit this

Index: system.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/system.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- system.cpp	10 Jan 2005 22:35:43 -0000	1.21
+++ system.cpp	15 Jan 2005 23:08:12 -0000	1.22
@@ -90,33 +90,3 @@
 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





More information about the Scummvm-git-logs mailing list