Thread name (description).
Unit
ValueOptional thread name. Thread name (description) is an arbitrary string. Thead name does not have to be unique.
RemarksThis is an optional thread name, which describes the thread. Threads can be named to simplify debugging. Thread name is an arbitrary string which will be used in bug reports to describe thread. Does not have to be unique. Default value is an empty string.
The name of main thread is always 'Main thread'.
This is a dynamic property which can be changed while thread is running. A common (and recommended) practice is to set thread's name immediately after thread's start and do not change it later.
Use NameThread or NameThreadForDebugging functions to name a thread.
The name (description) of a thread can be set more than once; the most recently set value is used.
See also
|