BloombergLP::bslmt::ThreadUtilImpl<Platform::PosixThreads>::setThreadName

Set the name of the current thread to the specified threadName. On all platforms other than Linux and Darwin this method has no effect. Note that on those two platforms threadName will be truncated to a length of 15 bytes, not including the terminating '0'.

Synopsis

Declared in <bslmt_threadutilimpl_pthread.h>

static
void
setThreadName(bslstl::StringRef const& threadName);