FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [February 2015 Threads] FreeRTOS ListPosted by sindhukrishna on February 17, 2015 Hello FreeRTOS Team !
I understood that each task state(ready, suspended and blocked) except Running state has List. What is the purpose of Termination List?
Please explain the Generic List and Event List.
Can you share a Scheduling State Machine including the list structures?
Thanks in advance !
FreeRTOS ListPosted by davedoors on February 17, 2015 When a task is deleted it is placed in the termination list ready for clean up by the idle task. So tasks get added to the termination list when they are deleted, and removed from the termination list when the idle task frees the memory they were using.
FreeRTOS ListPosted by sindhukrishna on February 19, 2015 Thank you Dave.
What is Generic List and Event List?
FreeRTOS ListPosted by rtel on February 19, 2015 The generic list item gets used for several things, but would be more usefully named the state list item as the state of the task depends on the list from which it is referenced (for example, if it is referenced from one of the ready lists, then it is in the Ready state).
The event list item is used to pend the task on events, so if the task is waiting for data to arrive on a queue its event list is referenced from the queues list of tasks waiting to receive.
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|