ThreadExecutionFunction

Type Alias ThreadExecutionFunction 

Source
pub type ThreadExecutionFunction = Option<unsafe extern "C" fn(arg1: *mut c_void) -> *mut c_void>;
Expand description

Reference to a function that is called when starting the thread

Aliased Type§

pub enum ThreadExecutionFunction {
    None,
    Some(unsafe extern "C" fn(*mut c_void) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void) -> *mut c_void)

Some value of type T.