summaryrefslogtreecommitdiff
path: root/src/net/ea/network.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-08 23:09:49 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-08 23:09:49 +0300
commit4f948c82ea95c6b9fac307f455fe91851e27017a (patch)
tree4eaa6aecdd68e2da17433517212b92028bf565e0 /src/net/ea/network.h
parent72e775bac71b2d4b5103a0e8a6f03875b1617321 (diff)
downloadManaVerse-4f948c82ea95c6b9fac307f455fe91851e27017a.tar.gz
ManaVerse-4f948c82ea95c6b9fac307f455fe91851e27017a.tar.bz2
ManaVerse-4f948c82ea95c6b9fac307f455fe91851e27017a.tar.xz
ManaVerse-4f948c82ea95c6b9fac307f455fe91851e27017a.zip
split network mutexe into read and write mutexes.
Diffstat (limited to 'src/net/ea/network.h')
-rw-r--r--src/net/ea/network.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/network.h b/src/net/ea/network.h
index 81a95566b..9298f021f 100644
--- a/src/net/ea/network.h
+++ b/src/net/ea/network.h
@@ -104,7 +104,8 @@ class Network
std::string mError;
SDL_Thread *mWorkerThread;
- SDL_mutex *mMutex;
+ SDL_mutex *mMutexIn;
+ SDL_mutex *mMutexOut;
int mSleep;
};