Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking at
git-svn-id: http://mc-server.googlecode.com/svn/trunk@100 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -111,7 +111,7 @@ void cRoot::Start()
|
||||
m_Server->StartListenThread();
|
||||
//cHeartBeat* HeartBeat = new cHeartBeat();
|
||||
|
||||
m_InputThread = new cThread( InputThread, this );
|
||||
m_InputThread = new cThread( InputThread, this, "cRoot::InputThread" );
|
||||
m_InputThread->Start( true );
|
||||
|
||||
while( !m_bStop && !m_bRestart ) // These are modified by external threads
|
||||
|
||||
Reference in New Issue
Block a user