7#include <boost/predef.h>
24constexpr std::size_t kMaxThreadNameLength = 15;
33template <std::
size_t N>
37 static_assert(N <= kMaxThreadNameLength + 1,
"Thread name cannot exceed 15 characters");
void setCurrentThreadName(std::string_view newThreadName)
Changes the name of the caller thread.
std::string getCurrentThreadName()
Returns the name of the caller thread.