pub type OrtCustomJoinThreadFn = Option<unsafe extern "C" fn(ort_custom_thread_handle: OrtCustomThreadHandle)>;
Expand description

\brief Custom thread join function

Onnxruntime thread pool destructor will call the function to join a custom thread. Argument ort_custom_thread_handle is the value returned by OrtCustomCreateThreadFn

Aliased Type§

enum OrtCustomJoinThreadFn {
    None,
    Some(unsafe extern "C" fn(_: *const OrtCustomHandleType)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const OrtCustomHandleType))

Some value of type T.