Added in v2.0


Syntax: %threadname(id,newname)

Sets or retrieves the name of a thread. If id is omitted, then the name of the current thread is returned, otherwise the name of the thread with the specified numeric ID is returned.

If newname is specified, then the name of the thread is changed to the specified value. However, the function will always return the previous name of the thread and not the new name.

Add comment

Login or register to post comments