© 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_11

11. Understanding and Using the Zephyr ZBus in Application Development

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

Zephyr ZBus

ZBus has many concepts in common with DBus, which is used in Linux-based systems. Whereas DBus is concerned with communication between processes running in separate virtual memory spaces, ZBus is concerned with communication between Zephyr RTOS threads.

The pattern underlying ZBus is an observer pattern in which a thread can broadcast messages to all observers interested in receiving such messages. ZBus can be used for many-to-many ...

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.