CLI debugging, got rid of nasty old Thread class and replaced with newer cleaner portable idiom.

This commit is contained in:
Adam Ierymenko 2013-08-05 16:06:16 -04:00
parent 3368330b77
commit a7c4cbe53a
17 changed files with 141 additions and 303 deletions

View file

@ -113,7 +113,7 @@ int main(int argc,char **argv)
lastResultTime = Utils::now();
while ((Utils::now() - lastResultTime) < 300)
Thread::sleep(50);
Thread<void>::sleep(50);
if (!numResults) {
fprintf(stdout,"ERROR: no results received. Is ZeroTier One running?"ZT_EOL_S);