OVMS3-idf/components/freertos/test
Darian Leung df6adbd5bf 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-27 16:54:14 +08:00
..
component.mk add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
test_freertos.c unit tests: fix warnings, build with -Werror 2017-10-19 21:35:23 +08:00
test_freertos_backported_functions.c freertos/backport and test v9.0.0 functions 2017-11-23 14:18:09 +08:00
test_freertos_debug_functions.c unit tests: fix queue registry test 2017-11-14 23:53:08 +08:00
test_freertos_eventgroups.c freertos/make trace facility configurable 2017-10-20 15:17:17 +08:00
test_freertos_get_state.c freertos: Test untested functions 2017-11-06 15:31:01 +08:00
test_freertos_isinisrcontext.c unit test: adapt tests to single core configuration 2017-10-19 21:35:21 +08:00
test_freertos_task_delay_until.c freertos: Test untested functions 2017-11-06 15:31:01 +08:00
test_freertos_task_delete.c freertos/fix SMP bug with Idle task clean up 2017-12-27 16:54:14 +08:00
test_freertos_task_notify.c freertos: Test untested functions 2017-11-06 15:31:01 +08:00
test_freertos_trace_utilities.c freertos/make trace facility configurable 2017-10-20 15:17:17 +08:00
test_newlib_reent.c unit test: adapt tests to single core configuration 2017-10-19 21:35:21 +08:00
test_panic.c esp32: add [ignore] tag to some unit test cases for CI 2017-01-18 17:08:20 +08:00
test_preemption.c unit test: adapt tests to single core configuration 2017-10-19 21:35:21 +08:00
test_ringbuf.c test_ringbuf: Add tests for arbitrary length ring buffer 2017-11-21 17:18:54 +05:30
test_spinlocks.c test: collect performance for esp-timer / spinlock 2017-11-16 17:48:48 +08:00
test_suspend_scheduler.c unit_tests/Update unit test timer divider 2017-10-30 19:42:16 +08:00
test_task_priorities.c freertos: Mark uxTaskPriorityGet() as tested 2017-05-29 16:19:00 +10:00
test_task_suspend_resume.c unit_tests/Update unit test timer divider 2017-10-30 19:42:16 +08:00
test_tasks_snapshot.c esp32: Fixes crash during core dump. 2017-09-11 17:20:42 +03:00
test_timers.c Unit tests: Add FreeRTOS timer tests 2017-05-05 14:38:15 +10:00