Function nstd_sys::thread::nstd_thread_current
source · #[no_mangle]
pub extern "C" fn nstd_thread_current() -> NSTDOptionalThreadHandleAvailable 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.