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

Returns a handle to the calling thread.

Returns

NSTDThreadHandle handle - A handle to the current thread.

Panics

Panics if allocating for the thread handle fails.