Function esp_idf_svc::hal::sys::pvTaskGetCurrentTCBForCore
source · pub unsafe extern "C" fn pvTaskGetCurrentTCBForCore(
xCoreID: i32,
) -> *mut c_void
Expand description
@brief Get a void pointer to the current TCB of a particular core
@note This function provides no guarantee that the return TCB will still be the current task (or that the task still exists) when it returns. It is the caller’s responsibility to ensure that the task does not get scheduled or deleted. @param xCoreID The core to query @return Void pointer to current TCB