userver: userver/utils/thread_name.hpp File Reference
Loading...
Searching...
No Matches
thread_name.hpp File Reference

Detailed Description

Functions for thread name manipulation.

Definition in file thread_name.hpp.

Go to the source code of this file.

#include <string>
#include <string_view>

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.