Type Alias esp_idf_svc::sys::TaskIterator_t

source ·
pub type TaskIterator_t = TaskIterator;
Expand description

@brief Task Snapshot iterator

Used in xTaskGetNext(). Must be zero/null initialized on the first call.

Aliased Type§

struct TaskIterator_t {
    pub uxCurrentListIndex: u32,
    pub pxNextListItem: *mut xLIST_ITEM,
    pub pxTaskHandle: *mut tskTaskControlBlock,
}

Fields§

§uxCurrentListIndex: u32

< Current task list index being traversed.

§pxNextListItem: *mut xLIST_ITEM

< Next task list item will being traversed.

§pxTaskHandle: *mut tskTaskControlBlock

< Current task handle being traversed.