BloombergLP::bslmt::ThreadAttributes::setThreadName

Set the threadName attribute of this object to the specified value. Return a non-const reference to this object (see also {Fluent Interface}).

Synopsis

Declared in <bslmt_threadattributes.h>

ThreadAttributes&
setThreadName(bslstl::StringRef const& value);

Return Value

a non-const reference to this object

Parameters

NameDescription
valuename assigned to created threads