Struct raspberry_pi_sys::libbcm_host::VCOS_THREAD_T
source · [−]#[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_tentry: VCOS_THREAD_ENTRY_FN_Targ: *mut c_voidsuspend: VCOS_SEMAPHORE_Ttask_timer: VCOS_TIMER_Ttask_timer_created: c_intorig_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]dummy: VCOS_UNSIGNEDat_exit: [VCOS_THREAD_EXIT_T; 4]Trait Implementations
sourceimpl Clone for VCOS_THREAD_T
impl Clone for VCOS_THREAD_T
sourcefn clone(&self) -> VCOS_THREAD_T
fn clone(&self) -> VCOS_THREAD_T
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Copy for VCOS_THREAD_T
Auto Trait Implementations
impl RefUnwindSafe for VCOS_THREAD_T
impl !Send for VCOS_THREAD_T
impl !Sync for VCOS_THREAD_T
impl Unpin for VCOS_THREAD_T
impl UnwindSafe for VCOS_THREAD_T
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more