summaryrefslogtreecommitdiff
path: root/testnet/SimNetSocketManager.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-27 18:23:10 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-27 18:23:10 -0700
commit934a575a7447bb34360e9f9f27dace971f811ce5 (patch)
tree5867614349a3714008c68f7dc06b6f2cb09f454d /testnet/SimNetSocketManager.hpp
parentfe7b429866693debe0057d81f11e527f61dfd24b (diff)
downloadinfinitytier-934a575a7447bb34360e9f9f27dace971f811ce5.tar.gz
infinitytier-934a575a7447bb34360e9f9f27dace971f811ce5.zip
Testnet seems to work a bit better now...
Diffstat (limited to 'testnet/SimNetSocketManager.hpp')
-rw-r--r--testnet/SimNetSocketManager.hpp4
1 files changed, 2 insertions, 2 deletions
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