[][src]Struct mmal_sys::VCOS_THREAD_T

#[repr(C)]
pub struct VCOS_THREAD_T {
    pub thread: pthread_t,
    pub entry: VCOS_THREAD_ENTRY_FN_T,
    pub arg: *mut c_void,
    pub suspend: VCOS_SEMAPHORE_T,
    pub task_timer: VCOS_TIMER_T,
    pub task_timer_created: c_int,
    pub orig_task_timer_expiration_routine: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
    pub orig_task_timer_context: *mut c_void,
    pub legacy: VCOS_UNSIGNED,
    pub name: [c_char; 16],
    pub dummy: VCOS_UNSIGNED,
    pub at_exit: [VCOS_THREAD_EXIT_T; 4],
}

Fields

thread: pthread_t

< The thread itself

entry: VCOS_THREAD_ENTRY_FN_T

< The thread entry point

arg: *mut c_void

< The argument to be passed to entry

suspend: VCOS_SEMAPHORE_T

< For support event groups and similar - a per thread semaphore

task_timer: VCOS_TIMER_Ttask_timer_created: c_int

< non-zero if the task timer has already been created

orig_task_timer_expiration_routine: Option<unsafe extern "C" fn(arg1: *mut c_void)>orig_task_timer_context: *mut c_voidlegacy: VCOS_UNSIGNEDname: [c_char; 16]

< Record the name of this thread, for diagnostics

dummy: VCOS_UNSIGNED

< Dummy thread created for non-vcos created threads

at_exit: [VCOS_THREAD_EXIT_T; 4]

Callback invoked at thread exit time

Trait Implementations

impl Clone for VCOS_THREAD_T[src]

impl Copy for VCOS_THREAD_T[src]

impl Debug for VCOS_THREAD_T[src]

Auto Trait Implementations

impl !Send for VCOS_THREAD_T

impl Unpin for VCOS_THREAD_T

impl !Sync for VCOS_THREAD_T

impl UnwindSafe for VCOS_THREAD_T

impl RefUnwindSafe for VCOS_THREAD_T

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]