give RageMutexes names, so they can be identified more easily

This commit is contained in:
Glenn Maynard
2004-03-21 04:10:43 +00:00
parent 527be89140
commit e779e80350
9 changed files with 15 additions and 11 deletions
+2 -1
View File
@@ -47,11 +47,12 @@ struct RageMutexImpl;
class RageMutex
{
RageMutexImpl *mut;
const CString m_sName;
public:
void Lock();
void Unlock();
RageMutex();
RageMutex( CString name );
~RageMutex();
};