diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-26 13:55:42 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-26 13:55:42 +0100 |
commit | 7268a70902b04e098b6b530986d9ce6d210fdd07 (patch) | |
tree | 4c4a28b6e5fa03a58f3a787505bb02eca200082e /source/cServer.cpp | |
parent | Using cSocketThreads for client outgoing packets. Unfortunately had to put in one intermediate thread (cServer::cNotifyWriteThread) to avoid deadlocks. Still, seems we have a proper multithreading for clients and no more per-client threads, yay :) (diff) | |
download | cuberite-7268a70902b04e098b6b530986d9ce6d210fdd07.tar cuberite-7268a70902b04e098b6b530986d9ce6d210fdd07.tar.gz cuberite-7268a70902b04e098b6b530986d9ce6d210fdd07.tar.bz2 cuberite-7268a70902b04e098b6b530986d9ce6d210fdd07.tar.lz cuberite-7268a70902b04e098b6b530986d9ce6d210fdd07.tar.xz cuberite-7268a70902b04e098b6b530986d9ce6d210fdd07.tar.zst cuberite-7268a70902b04e098b6b530986d9ce6d210fdd07.zip |
Diffstat (limited to 'source/cServer.cpp')
-rw-r--r-- | source/cServer.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/cServer.cpp b/source/cServer.cpp index b1dab21e5..ab4698f3f 100644 --- a/source/cServer.cpp +++ b/source/cServer.cpp @@ -134,6 +134,15 @@ void cServer::QueueClientClose(const cSocket * a_Socket) +void cServer::RemoveClient(const cSocket * a_Socket)
+{
+ m_SocketThreads.RemoveClient(a_Socket);
+}
+
+
+
+
+
bool cServer::InitServer( int a_Port )
{
if( m_bIsConnected )
|