Associates name with tid.
bool register (
Associates name with tid in a process-local map. When the thread represented by tid terminates, any names associated with it will be automatically unregistered.
|name||The name to associate with tid.|
|tid||The tid register by name.|
true if the name is available and tid is not known to represent a defunct thread.
Sean Kelly, Alex Rønne Petersen, Martin Nowak