Network timeout system also works from within a game now.

This commit is contained in:
lotodore
2008-03-06 15:27:31 +00:00
parent a3aee2b33a
commit e107cf98fa
7 changed files with 100 additions and 95 deletions
+1 -2
View File
@@ -66,7 +66,6 @@ public:
bool IsPlayerConnected(unsigned uniqueId) const;
void ForEach(boost::function<void (SessionWrapper)> func);
void ForEachRemoveIf(boost::function<bool (SessionWrapper)> func);
unsigned CountReadySessions() const;
void ResetAllReadyFlags();
@@ -84,7 +83,7 @@ protected:
private:
SessionMap m_sessionMap;
mutable boost::mutex m_sessionMapMutex;
mutable boost::recursive_mutex m_sessionMapMutex;
};
#endif