diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-23 15:26:29 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-23 15:26:29 +0100 |
commit | aa392170a2b0fc392c8203a4b31301eb7c94890e (patch) | |
tree | 3ab9ec0b2046dd25f7221dbfad563befdb83469c /source/cClientHandle.cpp | |
parent | Digging leaves with shears now drops leaves (diff) | |
download | cuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.tar cuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.tar.gz cuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.tar.bz2 cuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.tar.lz cuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.tar.xz cuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.tar.zst cuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cClientHandle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp index b8de73467..8374a8045 100644 --- a/source/cClientHandle.cpp +++ b/source/cClientHandle.cpp @@ -159,8 +159,8 @@ cClientHandle::cClientHandle(const cSocket & a_Socket) memset( m_LoadedChunks, 0x00, sizeof(cChunk*)*VIEWDISTANCE*VIEWDISTANCE );
//////////////////////////////////////////////////////////////////////////
- m_pState->pReceiveThread = new cThread( ReceiveThread, this );
- m_pState->pSendThread = new cThread( SendThread, this );
+ m_pState->pReceiveThread = new cThread( ReceiveThread, this, "cClientHandle::ReceiveThread" );
+ m_pState->pSendThread = new cThread( SendThread, this, "cClientHandle::SendThread" );
m_pState->pReceiveThread->Start( true );
m_pState->pSendThread->Start( true );
//////////////////////////////////////////////////////////////////////////
@@ -433,7 +433,7 @@ void cClientHandle::HandlePacket( cPacket* a_Packet ) }
if( m_pState->pAuthenticateThread ) delete m_pState->pAuthenticateThread;
- m_pState->pAuthenticateThread = new cThread( AuthenticateThread, this );
+ m_pState->pAuthenticateThread = new cThread( AuthenticateThread, this, "cClientHandle::AuthenticateThread" );
m_pState->pAuthenticateThread->Start( true );
}
break;
|