Function set_name

fn set_name(name: &CStr) -> Result<()>

Set the name of the calling thread. Strings longer than 15 bytes will be truncated.