name sound mutexes differently

This commit is contained in:
Glenn Maynard
2004-04-20 01:55:23 +00:00
parent 0607e7976d
commit 3bbefc42d4
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -190,6 +190,8 @@ bool RageSound::Load(CString sSoundFilePath, int precache)
}
}
m_Mutex.SetName( ssprintf("RageSound (%s)", Basename(sSoundFilePath).c_str() ) );
return true;
}
+2 -1
View File
@@ -51,7 +51,7 @@ class RageMutex
friend struct RageMutexImpl;
RageMutexImpl *mut;
const CString m_sName;
CString m_sName;
int m_UniqueID;
@@ -59,6 +59,7 @@ class RageMutex
public:
CString GetName() const { return m_sName; }
void SetName( const CString &s ) { m_sName = s; }
void Lock();
void Unlock();
bool IsLockedByThisThread() const;