OrtCustomJoinThreadFn

Type Alias OrtCustomJoinThreadFn 

Source
pub type OrtCustomJoinThreadFn = Option<unsafe extern "system" 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§

pub enum OrtCustomJoinThreadFn {
    None,
    Some(unsafe extern "system" fn(*const OrtCustomHandleType)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(*const OrtCustomHandleType))

Some value of type T.