ChunkSender: Chunks are now compressed and sent to clients from a separate threads, proper passive waiting between threads. Not much tested, just appears to work :)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@365 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -94,6 +94,8 @@ public:
|
||||
|
||||
bool IsDestroyed() { return m_bDestroyed; }
|
||||
void Destroy();
|
||||
|
||||
bool IsPlaying(void) const {return (m_State == csPlaying); }
|
||||
|
||||
void Send(const cPacket & a_Packet, ENUM_PRIORITY a_Priority = E_PRIORITY_NORMAL) { Send(&a_Packet, a_Priority); }
|
||||
void Send(const cPacket * a_Packet, ENUM_PRIORITY a_Priority = E_PRIORITY_NORMAL);
|
||||
|
||||
Reference in New Issue
Block a user