]> granicus.if.org Git - esp-idf/commit
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1
authorKonstantin Kondrashov <konstantin@espressif.com>
Thu, 25 Apr 2019 05:03:01 +0000 (13:03 +0800)
committerbot <bot@espressif.com>
Fri, 28 Jun 2019 02:19:19 +0000 (02:19 +0000)
commit7f081efbc698bb27a56974fe7d5b82bef6e99286
tree7a382e4826f65e2f0e4af311f6ed7dd7a7fa0c56
parent3b2d5e5a4fd0116e76b7f7e6477fd54123ae6104
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1

xTaskIncrementTick have to unwind uxPendedTicks on CPU1 and CPU0.

Use case: If an erase operation was run on the CPU1 then it leads
to starving other tasks which waiting time. Waited tasks just skipped.

Closes: https://github.com/espressif/esp-idf/issues/1952
Closes: IDF-183
components/freertos/tasks.c