From 1fd0c2e38c05fefeac8e216bd9990e30d34ad8ee Mon Sep 17 00:00:00 2001 From: Randolph Tan Date: Thu, 28 May 2015 14:49:43 -0400 Subject: SERVER-18590 Implement lock & unlock for replSets distlock manager --- src/mongo/util/time_support.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mongo/util/time_support.h') diff --git a/src/mongo/util/time_support.h b/src/mongo/util/time_support.h index 3d5128f43e9..1d1e0cb29ed 100644 --- a/src/mongo/util/time_support.h +++ b/src/mongo/util/time_support.h @@ -304,6 +304,7 @@ namespace mongo { void sleepsecs(int s); void sleepmillis(long long ms); void sleepmicros(long long micros); + void sleepFor(const Milliseconds& time); class Backoff { public: -- cgit v1.2.1