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 ...
Get ARM-Based Microcontroller Multitasking Projects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.