Skip to main content

switch_thread_start_t

Type Alias switch_thread_start_t 

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

The prototype for any APR thread worker functions. typedef void (SWITCH_THREAD_FUNC switch_thread_start_t)(switch_thread_t, void);

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.