OVMS3-idf/components/freertos
Darian Leung 38afa32cfb freertos/fix SMP bug with Idle task clean up
This commit backports vTaskDelete() behavior from FreeRTOS v9.0.0  which
allows for the immediate freeing of task memory if the task being deleted
is not currently running and not pinned to the other core. This commit also
fixes a bug in prvCheckTasksWaitingTermination which prevented the
Idle Task from cleaning up all tasks awaiting deletion. Each iteration of the Idle
Task should traverse the xTasksWaitingTermination list and clean up all tasks
not pinned to the other core. The previous implementation would cause
prvCheckTasksWaitingTermination to return when encountering a task
pinned to the other core whilst traversing the xTasksWaitingTermination list.

The test case for vTaskDelete() has been updated to test for the bugfix and
backported deletion behavior.
2017-12-05 18:13:56 +08:00
..
include/freertos Merge branch 'bugfix/allow_external_stack' into 'master' 2017-11-27 16:31:27 +08:00
test freertos/fix SMP bug with Idle task clean up 2017-12-05 18:13:56 +08:00
component.mk build system: Restore ifdef/ifndef in Makefiles, clean up examples build 2017-09-05 16:11:03 +10:00
croutine.c Add UNTESTED_FUNCTION() call to untested functions, make Kconfig option to enable that to map to assert() 2016-09-27 11:36:30 +08:00
event_groups.c freertos/backport and test v9.0.0 functions 2017-11-23 14:18:09 +08:00
FreeRTOS-openocd.c freertos: place uxTopUsedPriority into DRAM 2017-09-11 20:15:27 +08:00
Kconfig freertos/backport and test v9.0.0 functions 2017-11-23 14:18:09 +08:00
license.txt Initial public version 2016-08-17 23:08:22 +08:00
list.c Initial public version 2016-08-17 23:08:22 +08:00
port.c freertos: port: add check for portMUX address validity 2017-11-15 11:16:45 +05:30
portasm.S pm: support for tracing using GPIOs 2017-10-18 14:19:18 +08:00
portmux_impl.h portmux: Add vPortCPUAcquireMutexTimeout() function 2017-09-04 19:11:51 +10:00
queue.c freertos/backport and test v9.0.0 functions 2017-11-23 14:18:09 +08:00
readme_xtensa.txt Initial public version 2016-08-17 23:08:22 +08:00
ringbuf.c ringbuf: Bugfixes for managing arbitrary sizes of ring buffer 2017-11-21 17:15:53 +05:30
stdint.readme Initial public version 2016-08-17 23:08:22 +08:00
tasks.c freertos/fix SMP bug with Idle task clean up 2017-12-05 18:13:56 +08:00
timers.c freertos/backport and test v9.0.0 functions 2017-11-23 14:18:09 +08:00
xtensa_context.S fix bug that files missing commit in MR 773 2017-05-31 19:37:39 +08:00
xtensa_init.c freertos: deprecate XT_CLOCK_FREQ 2017-10-18 14:19:19 +08:00
xtensa_intr.c esp32: SEGGER SystemView Tracing Support 2017-06-27 20:52:43 +03:00
xtensa_intr_asm.S Replace non-multicore-aware rom funcs with multicore-aware funcs, ESP_LOG->ESP_EARLY_LOG fix, reserve ints used in wireless libs. Fixes WiFi crashing 2016-12-13 13:24:01 +08:00
xtensa_overlay_os_hook.c Initial public version 2016-08-17 23:08:22 +08:00
xtensa_vector_defaults.S panic handler: Print correct PC & backtrace for debug exceptions 2017-10-23 15:46:43 +08:00
xtensa_vectors.S pm: support for tracing using GPIOs 2017-10-18 14:19:18 +08:00