mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00

This commit optimizes the following utility functions to achieve higher overall system performance: xTaskGetCurrentTaskHandle(): - Made into stand alone function instead of wrapper call to "ForCore" variant - Replaced critical sections with disabling interrupts. Lack of lock contention improves performance. xTaskGetCurrentTaskHandleForCore(): - Removed unecessary critical sections xTaskGetSchedulerState(): - Replaced critical sections with disabling interrupts. Lack of lock contention improves performance.