[][src]Struct mmal_sys::VCOS_TIMER_T

#[repr(C)]
pub struct VCOS_TIMER_T {
    pub thread: pthread_t,
    pub lock: pthread_mutex_t,
    pub settings_changed: pthread_cond_t,
    pub quit: c_int,
    pub expires: timespec,
    pub orig_expiration_routine: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
    pub orig_context: *mut c_void,
}

Fields

thread: pthread_t

< id of the timer thread

lock: pthread_mutex_t

< lock protecting all other members of the struct

settings_changed: pthread_cond_t

< cond. var. for informing the timer thread about changes

quit: c_int

< non-zero if the timer thread is requested to quit

expires: timespec

< absolute time of next expiration, or 0 if disarmed

orig_expiration_routine: Option<unsafe extern "C" fn(arg1: *mut c_void)>

< the expiration routine provided by the user of the timer

orig_context: *mut c_void

< the context for exp. routine provided by the user

Trait Implementations

impl Clone for VCOS_TIMER_T[src]

impl Copy for VCOS_TIMER_T[src]

impl Debug for VCOS_TIMER_T[src]

Auto Trait Implementations

impl !Send for VCOS_TIMER_T

impl Unpin for VCOS_TIMER_T

impl !Sync for VCOS_TIMER_T

impl UnwindSafe for VCOS_TIMER_T

impl RefUnwindSafe for VCOS_TIMER_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]