Load the name of the current thread into the specified string.
Declared in <bslmt_threadutilimpl_pthread.h>
static
void
getThreadName(bsl::string* threadName);
Load the name of the current thread into the specified threadName. Note that this method clears *threadName on all platforms other than Linux and Darwin.
| Name | Description |
|---|---|
| threadName | receives the current thread's name |