_lwp_setname() sets the descriptive name of the LWP. It takes the following arguments.
target
The LWP whose descriptive name will be set.
name
The string to be used as the descriptive name of the LWP.
The name is used by
top(1) when showing LWPs, for example.