CLI debugging, got rid of nasty old Thread class and replaced with newer cleaner portable idiom.
This commit is contained in:
parent
3368330b77
commit
a7c4cbe53a
17 changed files with 141 additions and 303 deletions
2
cli.cpp
2
cli.cpp
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue