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