xTaskGetCurrentTaskHandleForCore() function
Get the handle of the task currently running on a certain core Because of the nature of SMP processing, there is no guarantee that this value will still be valid on return and should only be used for debugging purposes. [refactor-todo] See if this needs to be deprecated (IDF-8145)
Return value
Handle of the current task running on the queried core
![]()
return xTaskGetCurrentTaskHandleForCore( xCoreID );
xTaskGetCurrentTaskHandleForCore() is called by 1 function and calls 1 function:
![]()
xTaskGetCurrentTaskHandleForCore()
xTaskGetCurrentTaskHandleForCore() reads 1 variable:
![]()
xTaskGetCurrentTaskHandleForCore()