name sound mutexes differently
This commit is contained in:
@@ -190,6 +190,8 @@ bool RageSound::Load(CString sSoundFilePath, int precache)
|
||||
}
|
||||
}
|
||||
|
||||
m_Mutex.SetName( ssprintf("RageSound (%s)", Basename(sSoundFilePath).c_str() ) );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user