Rename a thread both in terms of an internal (in‐memory) name as well as its system thread name.
Synopsis
Declared in <util/threadnames.h>
void
ThreadRename(std::string const& name);
Description
|
Note
|
Do not call this for the main thread, as this will interfere with UNIX utilities such as top and killall. Use ThreadSetInternalName instead. |
Parameters
Name |
Description |
name |
New internal and system name for the current thread. |
Created with MrDocs