mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
38afa32cfb
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. |
||
---|---|---|
.. | ||
component.mk | ||
test_freertos_backported_functions.c | ||
test_freertos_debug_functions.c | ||
test_freertos_eventgroups.c | ||
test_freertos_get_state.c | ||
test_freertos_isinisrcontext.c | ||
test_freertos_task_delay_until.c | ||
test_freertos_task_delete.c | ||
test_freertos_task_notify.c | ||
test_freertos_trace_utilities.c | ||
test_freertos.c | ||
test_newlib_reent.c | ||
test_panic.c | ||
test_preemption.c | ||
test_ringbuf.c | ||
test_spinlocks.c | ||
test_suspend_scheduler.c | ||
test_task_priorities.c | ||
test_task_suspend_resume.c | ||
test_tasks_snapshot.c | ||
test_timers.c |