mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-13 21:55:07 +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.