Skip to main content

ddsrt_thread_routine_t

Type Alias ddsrt_thread_routine_t 

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

@brief Definition for a thread routine invoked on thread create.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.