1. 下图是FreeRTOS中的链表的基本结构关系
几点说明:
-
List_t {}structureis the list header.
-
UxNumberOfItemsindicatesthe number of item in the list. In this example it has three item.
-
The list order is based on the xItemValuein thexList_ITEM{} from small value to largevalue.
-
You could refer to the vListInsert (),vListInsertEnd () and uxListRemove ()function in the List.c file for studying.
-
The pointer pvOwnerpoints tothe TCB block.