© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
A. EliaszZephyr RTOS Embedded C Programminghttps://doi.org/10.1007/979-8-8688-0107-5_5

5. Message Queues, Pipes, Mailboxes, and Workqueues

Andrew Eliasz1  
(1)
First Technology Transfer, Croydon, Surrey, UK
 

Message queues, mailboxes, and pipes provide both synchronization between a producer and a consumer (sender and receiver) as well as temporary storage of data where necessary. Workqueues represent storage of requests for work to be done.

Underlying these mechanisms are data structures, algorithms, and APIs (Application Programming Interfaces).

In the case of a message queue, the maximum size of a message and the maximum number of messages the circular buffer ...

Get Zephyr RTOS Embedded C Programming: Using Embedded RTOS POSIX API 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.