From 934a575a7447bb34360e9f9f27dace971f811ce5 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 27 Oct 2014 18:23:10 -0700 Subject: Testnet seems to work a bit better now... --- testnet/SimNetSocketManager.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testnet/SimNetSocketManager.hpp') diff --git a/testnet/SimNetSocketManager.hpp b/testnet/SimNetSocketManager.hpp index 1dde7fe8..df587072 100644 --- a/testnet/SimNetSocketManager.hpp +++ b/testnet/SimNetSocketManager.hpp @@ -35,7 +35,7 @@ #include "../node/Constants.hpp" #include "../node/SocketManager.hpp" #include "../node/Mutex.hpp" -#include "Condition.hpp" +#include "Semaphore.hpp" namespace ZeroTier { @@ -120,7 +120,7 @@ private: std::map< InetAddress,TransferStats > _stats; Mutex _stats_m; - Condition _waitCond; + Semaphore _waitCond; }; } // namespace ZeroTier -- cgit v1.2.3