OrtCustomCreateThreadFn typedef

\brief Ort custom thread creation function

The function should return a thread handle to be used in onnxruntime thread pools Onnxruntime will throw exception on return value of nullptr or 0, indicating that the function failed to create a thread

Implementation

typedef OrtCustomCreateThreadFn =
    ffi.Pointer<ffi.NativeFunction<OrtCustomCreateThreadFnFunction>>;