#[no_mangle]
pub extern "C" fn nstd_thread_handle(
    thread: &NSTDThread
) -> NSTDThreadHandle
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

NSTDThreadHandle handle - A raw handle to the thread.

Panics

Panics if allocating for the thread handle fails.