mirror of
https://github.com/espressif/esp-idf
synced 2025-03-18 13:39:11 -04:00
vTaskSuspendAll() requires critical sections when building for SMP. Otherwise, it is possible for a task to switch cores in between getting the core ID and before incremented uxSchedulerSuspended.