userver: userver/utils/thread_name.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
thread_name.hpp File Reference

Functions for thread name manipulation. More...

#include <string>
#include <string_view>
+ Include dependency graph for thread_name.hpp:

Go to the source code of this file.

Classes

class  utils::CurrentThreadNameGuard
 RAII helper to run some code with a temporary current thread name. More...
 

Namespaces

namespace  utils
 Utilities.
 

Functions

std::string utils::GetCurrentThreadName ()
 Get the name of the current thread.
 
void utils::SetCurrentThreadName (std::string_view name)
 Set the name of the current thread.
 

Detailed Description

Functions for thread name manipulation.

Definition in file thread_name.hpp.