[−][src]Struct mynewt::kernel::os::os_task
@cond INTERNAL_HIDDEN
Fields
t_stackptr: *mut os_stack_t
Current stack pointer for this task
t_stacktop: *mut os_stack_t
Pointer to top of this task's stack
t_stacksize: u16
Size of this task's stack
t_taskid: u8
Task ID
t_prio: u8
Task Priority
t_state: u8
t_flags: u8
Task flags, bitmask
t_lockcnt: u8
t_pad: u8
t_name: *const c_char
Task name
t_func: os_task_func_t
Task function that executes
t_arg: *mut c_void
Argument to pass to task function when called
t_obj: *mut c_void
Current object task is waiting on, either a semaphore or mutex
t_sanity_check: os_sanity_check
Default sanity check for this task
t_next_wakeup: os_time_t
Next scheduled wakeup if this task is sleeping
t_run_time: os_time_t
Total task run time
t_ctx_sw_cnt: u32
Total number of times this task has been context switched during execution.
t_os_task_list: os_task__bindgen_ty_1
t_os_list: os_task__bindgen_ty_2
t_obj_list: os_task__bindgen_ty_3
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,