Function esp_idf_sys::uxTaskGetSnapshotAll
source · pub unsafe extern "C" fn uxTaskGetSnapshotAll(
pxTaskSnapshotArray: *mut TaskSnapshot_t,
uxArrayLength: UBaseType_t,
pxTCBSize: *mut UBaseType_t,
) -> UBaseType_t
Expand description
@brief Fill an array of TaskSnapshot_t structures for every task in the system
- This function is used by the panic handler to get a snapshot of all tasks in the system
@note This function should only be called when FreeRTOS is no longer running (e.g., during a panic) as this function does not acquire any locks. @param[out] pxTaskSnapshotArray Array of TaskSnapshot_t structures filled by this function @param[in] uxArrayLength Length of the provided array @param[out] pxTCBSize Size of the a task’s TCB structure @return UBaseType_t