summaryrefslogtreecommitdiff
path: root/src/syncServer.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-11-17 23:55:24 +0000
committerOthmar Gsenger <otti@anytun.org>2008-11-17 23:55:24 +0000
commitc36ac131a388dba3db9c88fb663f6415162f92bc (patch)
tree115211b74f373974f72a9846a665a992e0551cca /src/syncServer.h
parentfixed anytun-config (diff)
fixed anytun-showtables
Diffstat (limited to 'src/syncServer.h')
-rw-r--r--src/syncServer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/syncServer.h b/src/syncServer.h
index 092ad16..d7317db 100644
--- a/src/syncServer.h
+++ b/src/syncServer.h
@@ -6,6 +6,8 @@
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/function.hpp>
+#include "threadUtils.hpp"
+
#include <asio.hpp>
#include <list>
@@ -24,7 +26,7 @@ private:
void start_accept();
void handle_accept(SyncTcpConnection::pointer new_connection,
const asio::error_code& error);
-
+ Mutex mutex_; //Mutex for list conns_
asio::ip::tcp::acceptor acceptor_;
};
#endif