pub unsafe fn spawn(
thread_func: extern "C" fn(*mut c_void) -> *mut c_void,
arg: *mut c_void,
) -> OrtResult<pthread_t>Expand description
Start a thread. Returns 0 on success, 1 if allocating stack space failed, 2 if clone failed.
ยงSafety
TODO