The OpenD Programming Language

register

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.

bool
register
(
string name
,)

Parameters

name string

The name to associate with tid.

tid Tid

The tid register by name.

Return Value

Type: bool

true if the name is available and tid is not known to represent a defunct thread.

Meta