Fixed one thread per session implementation. Kind of. Still seems to have a handle leak on Windows. However, it does not scale at all and needs to be reverted. It won't even handle 500 players with 500 games on a dual core high end machine.

This commit is contained in:
lotodore
2009-01-11 20:12:26 +00:00
parent 4f7cf0bdb2
commit 29061b661c
11 changed files with 155 additions and 34 deletions
+2
View File
@@ -76,6 +76,7 @@ HEADERS += \
src/net/servergamethread.h \
src/net/servergamestate.h \
src/net/serverlobbythread.h \
src/net/sessiondatacallback.h \
src/net/socket_helper.h \
src/net/socket_msg.h \
src/net/socket_startup.h \
@@ -167,6 +168,7 @@ SOURCES += \
src/net/common/serverlobbythread.cpp \
src/net/common/servercallback.cpp \
src/net/common/sessiondata.cpp \
src/net/common/sessiondatacallback.cpp \
src/net/common/sessionmanager.cpp \
src/net/common/socket_startup_cmn.cpp \
src/net/common/socket_helper_cmn.cpp \