lib/nfs/Blocking, neighbor/smbclient: pass std::chrono::duration to Cond::timed_wait()

This commit is contained in:
Max Kellermann
2016-12-29 11:37:18 +01:00
parent 837134daef
commit 7ec707927d
3 changed files with 6 additions and 3 deletions

View File

@@ -251,7 +251,7 @@ SmbclientNeighborExplorer::ThreadFunc()
break;
// TODO: sleep for how long?
cond.timed_wait(mutex, 10000);
cond.timed_wait(mutex, std::chrono::seconds(10));
}
mutex.unlock();