method

name=

ruby latest stable - Class: Thread
name=(p1)
public

set given name to the ruby thread. On some platform, it may set the name to pthread and/or kernel.