mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
5d40016ddb
This issue was earlier fixed in commit 79e74e5d5f948e585bec586db7f482a2f2df50dc but during migration to newer FreeRTOS release, it got introduced again. This commit fixes thread safety issues with configASSERT() calls regarding the value of uxSchedulerSuspended. A false negative occurs if a context switch to the opposite core occurs in between the getting the core ID and the assesment. Relevant https://github.com/espressif/esp-idf/issues/4230 Closes https://github.com/espressif/esp-idf/issues/7726 Closes IDFGH-6041