Mastering FreeRTOS: A Comprehensive Guide to Doubly Linked Lists
Abstract: Today, we will discuss the doubly linked list by combining the source code of FreeRTOS's linked list. Note: A linked list item is a node, and a node is a linked list item; they refer to the same thing, and it doesn't matter what you call it.
1. Defining the Linked List Structure
// Define the linked list, which is also the head of the linked list
typedef struct xLIST
{
volatile unsigned int uxNumberOfItems;