#[no_mangle]
pub extern "C" fn nstd_thread_current() -> NSTDOptionalThreadHandle
Available on crate feature thread only.
Expand description

Returns a handle to the calling thread.

Returns

NSTDOptionalThreadHandle handle - A handle to the current thread on success, or an uninitialized “none” variant on error.