Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Architecting High-Performance Embedded Systems

You're reading from  Architecting High-Performance Embedded Systems

Product type Book
Published in Feb 2021
Publisher Packt
ISBN-13 9781789955965
Pages 376 pages
Edition 1st Edition
Languages
Author (1):
Jim Ledin Jim Ledin
Profile icon Jim Ledin

Table of Contents (15) Chapters

Preface Section 1: Fundamentals of High-Performance Embedded Systems
Chapter 1: Architecting High-Performance Embedded Systems Chapter 2: Sensing the World Chapter 3: Operating in Real Time Section 2: Designing and Constructing High-Performance Embedded Systems
Chapter 4: Developing Your First FPGA Program Chapter 5: Implementing systems with FPGAs Chapter 6: Designing Circuits with KiCad Chapter 7: Building High-Performance Digital Circuits Section 3: Implementing and Testing Real-Time Firmware
Chapter 8: Bringing Up the Board for the First Time Chapter 9: The Firmware Development Process Chapter 10: Testing and Debugging the Embedded System Other Books You May Enjoy

Understanding key RTOS features and challenges

Several standard capabilities are included in most of the RTOS implementations that are in wide use today. Some of these features enable efficient communication among tasks in a manner consistent with real-time operation. While common, not all of the following features are universally available in all RTOSes.

Mutexes

A mutex, which stands for mutual exclusion, is a mechanism for managing access to a shared resource among tasks. A mutex is conceptually identical to a global variable that can be read and written by all tasks. The variable has the value 1 when the shared resource is free, and 0 when it is in use by a task. When a task needs to gain access to the resource, it reads the variable and, if it is free, with the value 1, sets it to 0 to indicate the mutex is owned by a task. The task is then free to interact with the resource. When the interaction is complete, the task sets the mutex to 1, thereby releasing ownership.

If...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}