EmbeddedRelated.com
Books
The 2026 Embedded Online Conference

Real-time Operating Systems: Book 1 - The Theory (The engineering of real-time embedded systems)

Cooling, Jim 2017

Four 5-star reviews at https://www.amazon.com/dp/B00GO6VSGE 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 the 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. 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. Now, that’s the easy part; the really challenging aspect is how to best structure the application software in the first place. If your design is poorly-structured then, no matter which RTOS you use, you are very likely to run into problems of reliability, performance, safety and maintainability. Hence the book places great emphasis on ways to structure the application software so that it can be effectively implemented using an RTOS. The author: Jim Cooling has had many years experience in the area of real-time embedded systems, including electronic, software and system design, project management, consultancy, education and course development. He has published extensively on the subject, his books covering many aspects of embedded-systems work such as real-time interfacing, programming, software design and software engineering. Currently he is a partner in Lindentree Associates (which he formed in 1998), providing consultancy and training for real-time embedded systems. See: www.lindentreeuk.co.uk


Why Read This Book

You will learn the fundamental principles that make real-time operating systems predictable and reliable in embedded applications, without getting lost in kernel implementation minutiae. This book distills scheduling, timing analysis, synchronization, and interrupt interaction into practical guidance you can apply when selecting or using commercial and free RTOSes for real-world designs.

Who Will Benefit

Students and engineers (including software developers moving into embedded systems) who need a concise, practical grounding in RTOS concepts to design, evaluate, or use RTOS-based embedded systems.

Level: Intermediate — Prerequisites: Basic programming (preferably C), familiarity with fundamental data structures and algorithms, and a working understanding of microcontroller basics (CPU, memory, interrupts).

Get This Book

Key Takeaways

  • Explain core real-time concepts such as hard vs. soft real-time, determinism, and worst-case execution time
  • Compare and evaluate scheduling algorithms and select appropriate schemes for given system constraints
  • Apply synchronization primitives (semaphores, mutexes, message queues) correctly and avoid common concurrency hazards
  • Design interrupt and task interactions that preserve timing and responsiveness in embedded systems
  • Perform basic timing analysis and resource budgeting to demonstrate that real-time requirements are met

Topics Covered

  1. 1. Introduction to Real-Time Systems and Requirements
  2. 2. Tasks, Threads, and Process Models in Embedded Systems
  3. 3. Scheduling Theory: Algorithms and Trade-offs
  4. 4. Timing, Clocks, and Worst-Case Execution Time
  5. 5. Intertask Communication: Queues, Semaphores, and Mutexes
  6. 6. Interrupts, ISRs, and Interrupt-Task Cooperation
  7. 7. Memory, Stacks, and Resource Management
  8. 8. RTOS Services, APIs, and Configuration Considerations
  9. 9. Designing with an RTOS: Patterns and Anti-Patterns
  10. 10. Debugging, Testing, and Verification for Real-Time Systems
  11. 11. Practical Guidance on Choosing and Integrating RTOSs
  12. 12. Case Studies and Worked Examples

Languages, Platforms & Tools

CAssembly (brief examples)Pseudocode/examplesARM Cortex-M and ARM cores (general applicability)RISC-V (applicable concepts)General microcontroller-based embedded systemsEmbedded Linux (conceptual comparisons)FreeRTOS (as an example RTOS family)Commercial RTOSes (conceptual comparison)GCC and cross-compilersGDB and hardware debuggers (JTAG/SWD)

How It Compares

Covers similar practical ground to Qing Li's 'Real-Time Concepts for Embedded Systems' but is more focused on RTOS theory and usage for engineers rather than in-depth kernel internals; for formal scheduling theory see Jane W.S. Liu's 'Real-Time Systems'.

Related Books

Bryant, Randal, O'Hallaron,...
The 2026 Embedded Online Conference