pub fn set_name(name: &CStr) -> Result<()>
Expand description
Set the name of the calling thread.
Unlike pthread_setname_np
, this function silently truncates the name to
16 bytes, as the Linux syscall does.
pub fn set_name(name: &CStr) -> Result<()>
Set the name of the calling thread.
Unlike pthread_setname_np
, this function silently truncates the name to
16 bytes, as the Linux syscall does.