Use consistent thread names.

This commit is contained in:
Steve Checkoway
2005-12-15 07:18:52 +00:00
parent 6708056847
commit bdf4898ecb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ static struct SetupMainThread
{
LockMut(g_ThreadSlotsLock);
int slot = FindEmptyThreadSlot();
strcpy( g_ThreadSlots[slot].name, "Main thread" );
strcpy( g_ThreadSlots[slot].name, "MainThread" );
sprintf( g_ThreadSlots[slot].ThreadFormattedOutput, "Thread: %s", g_ThreadSlots[slot].name );
g_ThreadSlots[slot].id = RageThread::GetCurrentThreadID();
g_ThreadSlots[slot].pImpl = MakeThisThread();
@@ -833,7 +833,7 @@ InputHandler_Carbon::InputHandler_Carbon() : mMasterPort(0), mSem("Input thread
IOObjectRelease( iter );
}
mInputThread.SetName( "Input thread." );
mInputThread.SetName( "InputThread" );
mInputThread.Create(InputHandler_Carbon::Run, this);
// Wait for the run loop to start before returning.
mSem.Wait();