OfxThreadFunctionV1

Type Alias OfxThreadFunctionV1 

Source
pub type OfxThreadFunctionV1 = Option<unsafe extern "C" fn(threadIndex: c_uint, threadMax: c_uint, customArg: *mut c_void)>;
Expand description

@brief The function type to passed to the multi threading routines

\arg \e threadIndex unique index of this thread, will be between 0 and threadMax \arg \e threadMax to total number of threads executing this function \arg \e customArg the argument passed into multiThread

A function of this type is passed to OfxMultiThreadSuiteV1::multiThread to be launched in multiple threads.

Aliased Type§

pub enum OfxThreadFunctionV1 {
    None,
    Some(unsafe extern "C" fn(u32, u32, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u32, u32, *mut c_void))

Some value of type T.