From bdf4898ecb217c3a6348083e2e932850e306e84e Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Thu, 15 Dec 2005 07:18:52 +0000 Subject: [PATCH] Use consistent thread names. --- stepmania/src/RageThreads.cpp | 2 +- stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageThreads.cpp b/stepmania/src/RageThreads.cpp index 97f835f332..85c5617ff6 100644 --- a/stepmania/src/RageThreads.cpp +++ b/stepmania/src/RageThreads.cpp @@ -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(); diff --git a/stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp b/stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp index 49355c3a7f..b85ee4db00 100644 --- a/stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp +++ b/stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp @@ -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();