diff options
Diffstat (limited to 'src/net/ipc.h')
-rw-r--r-- | src/net/ipc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/ipc.h b/src/net/ipc.h index eb2e92c9b..739eb746e 100644 --- a/src/net/ipc.h +++ b/src/net/ipc.h @@ -23,6 +23,9 @@ #include "net/sdltcpnet.h" +#include <string> +#include <vector> + #include <SDL_thread.h> class IPC final @@ -45,6 +48,8 @@ class IPC final unsigned short getPort() const A_WARN_UNUSED { return mPort; } + void flush(); + static int acceptLoop(void *ptr); static void start(); @@ -57,8 +62,11 @@ class IPC final unsigned int mNumReqs; TcpNet::Socket mSocket; + std::vector<std::string> mDelayedCommands; SDL_Thread *mThread; + SDL_mutex *mMutex; unsigned short mPort; + volatile bool mThreadLocked; bool mListen; }; |