summaryrefslogtreecommitdiff
path: root/src/mongo/util/concurrency/thread_name.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/concurrency/thread_name.h')
-rw-r--r--src/mongo/util/concurrency/thread_name.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mongo/util/concurrency/thread_name.h b/src/mongo/util/concurrency/thread_name.h
index c86aef82577..10f46b05cff 100644
--- a/src/mongo/util/concurrency/thread_name.h
+++ b/src/mongo/util/concurrency/thread_name.h
@@ -34,15 +34,15 @@
namespace mongo {
- /**
- * Sets the name of the current thread to "name".
- */
- void setThreadName(StringData name);
+/**
+ * Sets the name of the current thread to "name".
+ */
+void setThreadName(StringData name);
- /**
- * Retrieves the name of the current thread, as previously set, or "" if no name was previously
- * set.
- */
- MONGO_CLIENT_API const std::string& getThreadName();
+/**
+ * Retrieves the name of the current thread, as previously set, or "" if no name was previously
+ * set.
+ */
+MONGO_CLIENT_API const std::string& getThreadName();
} // namespace mongo