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§
None
No value.
Some(unsafe extern "system" fn(*const OrtCustomHandleType))
Some value of type T.