17 #ifndef COM_BORA_SOFTWARE__BALAU_SYSTEM__THREAD_NAME 18 #define COM_BORA_SOFTWARE__BALAU_SYSTEM__THREAD_NAME 22 #include <unordered_set> 41 public:
static const std::string &
getName();
46 public:
static void setName(
const std::string & name);
50 private:
static thread_local std::string threadName;
55 #endif // COM_BORA_SOFTWARE__BALAU_SYSTEM__THREAD_NAME static const std::string & getName()
Get the name of the calling thread.
static void setName(const std::string &name)
Set the name of the calling thread.
A thread-local name.
Definition: ThreadName.hpp:37
System utilities and wrappers.
Definition: HttpServerConfiguration.hpp:30