From a3e585b886dbaa0780f1369ecca8dbf8a640383f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 11 Feb 2005 04:07:30 +0000 Subject: [PATCH] fix crash --- stepmania/src/RageUtil_WorkerThread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageUtil_WorkerThread.cpp b/stepmania/src/RageUtil_WorkerThread.cpp index 63de7052e0..be3d9a6d9a 100644 --- a/stepmania/src/RageUtil_WorkerThread.cpp +++ b/stepmania/src/RageUtil_WorkerThread.cpp @@ -12,7 +12,7 @@ WorkerThread::WorkerThread( const CString &sName ): m_fHeartbeat = -1; m_bRequestFinished = false; - m_WorkerThread.SetName( "ThreadedFileWorker " + sName + " worker" ); + m_WorkerThread.SetName( "WorkerThread (" + sName + ")" ); } WorkerThread::~WorkerThread() @@ -48,7 +48,7 @@ void WorkerThread::StopThread() m_WorkerEvent.Lock(); if( m_bTimedOut ) { - LOG->Trace( "Waiting for timed-out fs \"%s\" to complete ..." ); + LOG->Trace( "Waiting for timed-out fs \"%s\" to complete ...", m_WorkerThread.GetName().c_str() ); while( m_bTimedOut ) m_WorkerEvent.Wait(); }