summaryrefslogtreecommitdiff
path: root/src/mongo/util/time_support.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2015-05-28 14:49:43 -0400
committerRandolph Tan <randolph@10gen.com>2015-06-05 09:59:30 -0400
commit1fd0c2e38c05fefeac8e216bd9990e30d34ad8ee (patch)
tree5c7345dd71bca891c2e460ace93b0b07402058d4 /src/mongo/util/time_support.h
parent975319ad4e7af76ca288d2bcb65c94a4006c2d4d (diff)
downloadmongo-1fd0c2e38c05fefeac8e216bd9990e30d34ad8ee.tar.gz
SERVER-18590 Implement lock & unlock for replSets distlock manager
Diffstat (limited to 'src/mongo/util/time_support.h')
-rw-r--r--src/mongo/util/time_support.h1
1 files changed, 1 insertions, 0 deletions
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: