Real-time Operating Systems Book 1: The Theory
This book deals with the fundamentals of operating systems for use in real-time embedded systems. It is aimed at those who wish to develop RTOS-based designs, using either commercial or free products. It does not set out to give you a knowledge to design an RTOS; leave that to the specialists. The target readership includes:- Students.- Engineers, scientists and mathematicians moving into software systems.- Professional and experienced software engineers entering the embedded field.- Programmers having little or no formal education in the underlying principles of software-based real-time systems.The material covers the key ‘nuts and bolts’ of RTOS structures and usage (as you would expect, of course). In many cases it shows how these are handled by practical real-time operating systems. It also places great emphasises on ways to structure the application software so that it can be effectively implemented using an RTOS. After studying this even the absolute beginner will see that it isn’t particularly difficult to implement RTOS-based designs and should be confident to take on such work.
Why Read This Book
You will learn the core principles behind real-time operating systems as applied to embedded designs, gaining a clear understanding of scheduling, synchronization, timing and the services an RTOS provides. The book emphasizes practical usage and design trade-offs so you can choose and apply commercial or free RTOS products effectively in real projects.
Who Will Benefit
Engineers, students, and software developers with some programming background who are moving into embedded or real-time system development and need a solid, practical grounding in RTOS concepts.
Level: Intermediate — Prerequisites: Basic programming (C recommended), familiarity with microcontroller concepts (interrupts, I/O), and an understanding of digital logic and basic operating-system ideas.
Key Takeaways
- Explain the core RTOS abstractions (tasks/threads, queues, semaphores, timers) and when to use each
- Compare and evaluate common scheduling policies and their impact on latency and throughput
- Apply synchronization and inter-task communication patterns to build correct, race-free firmware
- Analyze timing behavior and worst-case response using timing analysis techniques
- Integrate RTOS services with interrupt handlers, device drivers and low-level hardware
- Assess trade-offs between RTOS features and select appropriate commercial or free RTOS products for a design
Topics Covered
- 1. Introduction to Real-Time Embedded Systems
- 2. RTOS Concepts and Structures
- 3. Tasking and Thread Management
- 4. Scheduling Algorithms and Policies
- 5. Synchronization, Mutual Exclusion and IPC
- 6. Timing, Clocks and Timers
- 7. Interrupt Handling and Device Drivers
- 8. Memory Management and Resource Allocation
- 9. Timing Analysis and Response-Time Calculation
- 10. RTOS Usage Patterns and Common Pitfalls
- 11. Selecting and Integrating an RTOS (commercial and free)
- 12. Testing, Debugging and Certification Considerations
- Appendices: Example APIs, Glossary and Further Reading
Languages, Platforms & Tools
How It Compares
Sits between the academic depth of Jane W. S. Liu's "Real-Time Systems" and the hands-on implementation focus of Jonathan Valvano's or Qing Li's RTOS texts—more practical than pure theory but not a how-to on building a kernel from scratch.













