Skip to main content

ThreadEntry

Type Alias ThreadEntry 

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

A native worker entry. Null is rejected.

Aliased Type§

pub enum ThreadEntry {
    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.