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

Retrieves a raw handle to a thread.

Parameters:

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

Returns

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