nstd_thread_name

Function nstd_thread_name 

Source
#[unsafe(no_mangle)]
pub extern "C" fn nstd_thread_name( handle: &NSTDThreadHandle, ) -> NSTDOptionalStr
Available on crate feature thread only.
Expand description

Returns the name of a thread.

§Parameters:

  • const NSTDThreadHandle *handle - A handle to the thread.

§Returns

NSTDOptionalStr name - The name of the thread, or none if the thread is unnamed.