CatapultServer  v0.5.0.1 (Elephant)
ThreadInfo.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include <string>
23 
24 namespace catapult { namespace thread {
25 
27  size_t GetMaxThreadNameLength();
28 
31  void SetThreadName(const std::string& name);
32 
34  std::string GetThreadName();
35 }}
ThreadInfo.h
catapult::thread::GetThreadName
std::string GetThreadName()
Gets a thread name in a platform-dependent way.
Definition: ThreadInfo.cpp:74
catapult::thread::SetThreadName
void SetThreadName(const std::string &name)
Definition: ThreadInfo.cpp:69
catapult::thread::GetMaxThreadNameLength
size_t GetMaxThreadNameLength()
Gets the maximum supported thread name length (excluding NUL-terminator).
Definition: ThreadInfo.cpp:32
catapult
Definition: AddressExtractionExtension.cpp:28
Logging.h