Forgot to commit this

svn-id: r16567
This commit is contained in:
Max Horn 2005-01-15 23:08:12 +00:00
parent 541076d8db
commit aa9debccec

View File

@ -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