Queue management
Abstract
Queues are important parts of any real-time operating system. Queues are used for intertask communication in real-time operating systems. They can be used to send messages and data between tasks, and between interrupts and tasks. A queue is basically a FIFO (First In First Out) type buffer such that new data is sent to the back of the queue and the first data that is sent to the queue is the first one that is received by the receiving task. Notice that in FreeRTOS it is possible to send data to the front of the queue. You may think a queue to be like a table having only one row but many columns. This Chapter is about creating a queue and sending and receiving data using queues. Several real-time and multitasking ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access