summaryrefslogtreecommitdiff
path: root/util/background.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/background.h')
-rw-r--r--util/background.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/background.h b/util/background.h
index 09cd08bc9bd..d4b9830c40f 100644
--- a/util/background.h
+++ b/util/background.h
@@ -16,6 +16,8 @@
#pragma once
+namespace mongo {
+
/* object-orienty background thread dispatching.
subclass and define run()
@@ -66,3 +68,5 @@ private:
static void thr();
volatile State state;
};
+
+} // namespace mongo