Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


FreeRTOS List

Posted 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 List

Posted 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 List

Posted by sindhukrishna on February 19, 2015

Thank you Dave.

What is Generic List and Event List?

FreeRTOS List

Posted 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.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS