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