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
+3 -2
View File
@@ -134,7 +134,7 @@ const char *ThreadSlot::GetFormattedCheckpoint( int lineno )
}
static ThreadSlot g_ThreadSlots[MAX_THREADS];
static RageMutex g_ThreadSlotsLock;
static RageMutex g_ThreadSlotsLock("ThreadSlots");
static int FindEmptyThreadSlot()
{
@@ -737,7 +737,8 @@ void RageMutexImpl::Unlock()
RageMutex::RageMutex()
RageMutex::RageMutex( const CString name ):
m_sName( name )
{
mut = new RageMutexImpl;
}