diff options
Diffstat (limited to 'src/mongo/util/concurrency/thread_name.h')
-rw-r--r-- | src/mongo/util/concurrency/thread_name.h | 18 |
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 88e7d25bd88..3e05b0529d6 100644 --- a/src/mongo/util/concurrency/thread_name.h +++ b/src/mongo/util/concurrency/thread_name.h @@ -33,15 +33,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. - */ - const std::string& getThreadName(); +/** + * Retrieves the name of the current thread, as previously set, or "" if no name was previously + * set. + */ +const std::string& getThreadName(); } // namespace mongo |