1
0

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:
faketruth
2011-12-23 14:26:29 +00:00
parent 24efa6f864
commit aa392170a2
5 changed files with 55 additions and 9 deletions

View File

@@ -340,8 +340,8 @@ void ServerTickThread( void * a_Param )
void cServer::StartListenThread()
{
m_pState->pListenThread = new cThread( ServerListenThread, this );
m_pState->pTickThread = new cThread( ServerTickThread, this );
m_pState->pListenThread = new cThread( ServerListenThread, this, "cServer::ServerListenThread" );
m_pState->pTickThread = new cThread( ServerTickThread, this, "cServer::ServerTickThread" );
m_pState->pListenThread->Start( true );
m_pState->pTickThread->Start( true );
}