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

Joins a thread by it’s handle.

Parameters:

  • NSTDThread thread - The thread handle.

Returns

NSTDOptionalThreadResult errc - The thread function’s return code, or none if joining the thread fails.