summaryrefslogtreecommitdiff
path: root/node/Node.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-05 16:06:16 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-05 16:06:16 -0400
commita7c4cbe53aad51b3e74fa9cb1af975cb8d356954 (patch)
treee4578c51ea7239aeaf5dd6ebcaa844a0fb00f9ea /node/Node.cpp
parent3368330b777da9561539c04ea589aa7060e1d569 (diff)
downloadinfinitytier-a7c4cbe53aad51b3e74fa9cb1af975cb8d356954.tar.gz
infinitytier-a7c4cbe53aad51b3e74fa9cb1af975cb8d356954.zip
CLI debugging, got rid of nasty old Thread class and replaced with newer cleaner portable idiom.
Diffstat (limited to 'node/Node.cpp')
-rw-r--r--node/Node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index ef2a801c..da752bb2 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -426,7 +426,7 @@ Node::ReasonForTermination Node::run()
if (lastDelayDelta >= ZT_SLEEP_WAKE_DETECTION_THRESHOLD) {
resynchronize = true;
LOG("probable suspend/resume detected, pausing a moment for things to settle...");
- Thread::sleep(ZT_SLEEP_WAKE_SETTLE_TIME);
+ Thread<Node>::sleep(ZT_SLEEP_WAKE_SETTLE_TIME);
}
// Periodically check our network environment, sending pings out to all