mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00

This commit synchronizes multiple functions that contain major differences with upstream v10.4.3. Multi-core modifications are then reapplied to the function. Vanilla code uses "pxTCB == pxCurrentTCB" to check whether a task is currently running. This commit adds the following macros instead. - taskIS_CURRENTLY_RUNNING() - taskIS_CURRENTLY_RUNNING_ON_CORE() The following functions have been updated to use those macros instead. - eTaskGetState() - vTaskPrioritySet() - vTaskResume() The following functions have been synchronized with upstream v10.4.3. Multi-core modifications are then reapplied. - vTaskSuspend() - vTaskDelete() - prvGetExpectedIdleTime()