defunct thread.
register
fn
bool register(string name, Tid tid)Associates name with tid.
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.
Parameters
name | The name to associate with tid. |
tid | The tid register by name. |
Returns
true if the name is available and tid is not known to represent a