Skip to Content
Hands-On RTOS with Microcontrollers
book

Hands-On RTOS with Microcontrollers

by Brian Amos
May 2020
Intermediate to advanced
496 pages
13h 54m
English
Packt Publishing
Content preview from Hands-On RTOS with Microcontrollers

Task Signaling and Communication Mechanisms

In the previous chapter, the task was introduced. Toward the end, we looked at examples of preemptive scheduling for multiple tasks in the system and the fact that a task will run whenever it isn't waiting on something (in the blocked state) and can do something useful. In this chapter, the core mechanisms for task signaling and inter-task communication will be briefly introduced. These primitives are fundamental to event-driven parallel programming, which is the foundation of a well implemented RTOS-based application.

Rather than dive right into the FreeRTOS API, each primitive will be presented along with a few graphical examples and some suggestions on when each of the mechanisms can be used. ...

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.
Start your free trial

You might also like

Hands-On RTOS with Microcontrollers - Second Edition

Hands-On RTOS with Microcontrollers - Second Edition

Jim Yuill, Penn Linder

Publisher Resources

ISBN: 9781838826734Supplemental Content