]> begriffs open source - freertos/commit
Delete kernel created task in vTaskEndScheduler (#962)
authorchinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Thu, 1 Feb 2024 03:12:08 +0000 (11:12 +0800)
committerGitHub <noreply@github.com>
Thu, 1 Feb 2024 03:12:08 +0000 (11:12 +0800)
commit1de764ba879a36fe3e155dece2d11b1116b64360
tree8ea2d2a1dd258de65f5a8701cd04b0cd7b5ae61f
parentba1e2dad3cc6fcb4209e33093efba83d189aa836
Delete kernel created task in vTaskEndScheduler (#962)

* Update vTaskDelete() to delete a task directly when scheduler is stopped instead of putting it on the xTasksWaitingTermination list.
* Delete the idle tasks and timer task in vTaskEndScheduler().
* Reclaim resources for all the tasks on the xTasksWaitingTermination list in vTaskEndScheduler().
* Update POSIX to no longer delete FreeRTOS tasks in the port.

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
portable/ThirdParty/GCC/Posix/port.c
tasks.c