diff options
Diffstat (limited to 'src/syncServer.h')
-rw-r--r-- | src/syncServer.h | 4 |
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 |