mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
Minor fix on Scheduler Suspension subtitle
Closes https://github.com/espressif/esp-idf/pull/3343
This commit is contained in:
committed by
Mahavir Jain
parent
4b1f8ef3a2
commit
9495b7a7a6
@@ -291,7 +291,7 @@ resumed. Scheduler suspension in vanilla FreeRTOS is a common protection method
|
|||||||
against simultaneous access of data shared between tasks, whilst still allowing
|
against simultaneous access of data shared between tasks, whilst still allowing
|
||||||
ISRs to be serviced.
|
ISRs to be serviced.
|
||||||
|
|
||||||
In ESP-IDF FreeRTOS, :cpp:func:`xTaskResumeAll` will only prevent calls of
|
In ESP-IDF FreeRTOS, :cpp:func:`xTaskSuspendAll` will only prevent calls of
|
||||||
``vTaskSwitchContext()`` from switching contexts on the core that called for the
|
``vTaskSwitchContext()`` from switching contexts on the core that called for the
|
||||||
suspension. Hence if **PRO_CPU** calls :cpp:func:`vTaskSuspendAll`, **APP_CPU** will
|
suspension. Hence if **PRO_CPU** calls :cpp:func:`vTaskSuspendAll`, **APP_CPU** will
|
||||||
still be able to switch contexts. If data is shared between tasks that are
|
still be able to switch contexts. If data is shared between tasks that are
|
||||||
|
Reference in New Issue
Block a user