Type Alias onnxruntime_sys_ng::OrtCustomJoinThreadFn
source · 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§
None
No value.
Some(unsafe extern "C" fn(_: *const OrtCustomHandleType))
Some value of type T
.