Zen API
|
Sets the name of the thread.
Unique names should be assigned to threads in order to aid debugging. Note that some operating systems restrict name lengths to only a few characters (e.g., Linux: 16); in this case, the given name may be truncated when the start is started.
This method can only be called before the thread has been started.
thread | Thread object. |
name | Thread name. |