Function esp_idf_sys::xTaskGetIdleTaskHandleForCPU

source ยท
pub unsafe extern "C" fn xTaskGetIdleTaskHandleForCPU(
    cpuid: UBaseType_t,
) -> TaskHandle_t
Expand description

Get the handle of idle task for the given CPU.

xTaskGetIdleTaskHandleForCPU() is only available if INCLUDE_xTaskGetIdleTaskHandle is set to 1 in FreeRTOSConfig.h.

@param cpuid The CPU to get the handle for

@return Idle task handle of a given cpu. It is not valid to call xTaskGetIdleTaskHandleForCPU() before the scheduler has been started.