esp-idf/components/freertos
Darian Leung 0cf1fd3a5a freertos: Add multi-core OS startup race condition workaround
FreeRTOS uses a single "xSchedulerRunning" variable to tack whether the
scheduler has started, and this variable is set to "pdTRUE" by core 0
via calling vTaskStartScheduler().

However, with SMP FreeRTOS, there is a race condition where core 0 has
already started the scheduler and another core has not called xPortStartScheduler()
yet and calls some FreeRTOS API. Thus the resultant FreeRTOS API can
cause errors as it thinks the scheduler has started.

This commit adds a temporary workaround (by having each core maintain their
own "xSchedulerRunning" variable.
2022-06-30 20:24:53 +08:00
..
esp_additions freertos: Add newlib dynamic reentrancy support 2022-06-02 15:42:02 +08:00
FreeRTOS-Kernel freertos: Xtensa FreeRTOS saves threadptr in solicited stack frame 2022-06-15 20:20:41 +08:00
FreeRTOS-Kernel-SMP freertos: Add multi-core OS startup race condition workaround 2022-06-30 20:24:53 +08:00
test freertos-smp: Fix test_preemtion yield time threshold for FreeRTOS SMP 2022-06-17 16:03:34 +02:00
CMakeLists.txt freertos: Move some SMP FreeRTOS functions to flash 2022-06-23 16:00:46 +08:00
FreeRTOS-openocd.c freertos_additions: add debug params table for openocd 2022-03-11 11:33:08 +01:00
Kconfig freertos: Fix SMP FreeRTOS TSLP deletion callback tests 2022-06-17 21:57:11 +08:00
linker_smp.lf freertos: Move some SMP FreeRTOS functions to flash 2022-06-23 16:00:46 +08:00
linker.lf freertos: Move some SMP FreeRTOS functions to flash 2022-06-23 16:00:46 +08:00
sdkconfig.rename freertos: always enable static allocation 2020-12-29 16:18:04 +01:00