Load the name of the current thread into the specified string.
Synopsis
Declared in <bslmt_threadutil.h>
static
void
getThreadName(bsl::string* threadName);
Description
Load the name of the current thread into the specified *threadName. Note that this method clears *threadName on platforms other than Linux, Solaris, Darwin, and Windows.
Parameters
Name |
Description |
threadName |
receives the current thread's name |
Created with MrDocs