EmbeddedRelated.com
Books
The 2026 Embedded Online Conference

Fundamentals of Real Time Systems

Shirvaikar, Mukul, Elbert, Theodore 2017

With real time systems embedded into a huge number of products, today's engineers are required to understand both the analysis and design of such systems in order to work with them successfully during product development. Fundamentals of Real Time Systems combines theory and practice to help students and practicing engineers gain a working knowledge of real time systems. 

The book uses authentic code snippets and examples to introduce and reinforce concepts in real-time systems programming, data structures, kernels and operating systems, tasks, scheduling algorithms, communication mechanisms, and reliability and applications. 

Clear, informative, and accessible, Fundamentals of Real Time Systems gives both students and professionals a good working knowledge of the subject matter, without overwhelming them with technical details and processor specifications. The text is suitable for engineering and computer science courses that cover embedded systems, real time systems, and embedded development.

Mukul Shirvaikar earned a Ph.D. in electrical engineering at the University of Tennessee. Dr. Shirvaikar is a professor of electrical engineering at the University of Texas, Tyler. His research focuses on real time image processing, and he serves as associate editor of the Journal of Real Time Image Processing.

Theodore Elbert, who earned his Ph.D. in electrical engineering at the University of California, Santa Barbara, is emeritus professor of computer science at the University of West Florida. He served as chairman of the Computer Science Department, where he helped bring concepts of software engineering into the department's curricula.


Why Read This Book

You will get a compact, practitioner-oriented introduction to both the theory and practice of real-time systems: scheduling, task design, synchronization, and reliability, illustrated with authentic code snippets and worked examples. The book bridges analysis and implementation so you can move from schedulability proofs to concrete RTOS and firmware decisions in real product development.

Who Will Benefit

Undergraduate or graduate students and practicing embedded/firmware engineers who need to design, analyze, or implement real-time software for microcontrollers, RTOS-based devices, or embedded Linux systems.

Level: Intermediate — Prerequisites: Familiarity with C programming, basic operating-systems concepts (threads/tasks, interrupts), and introductory embedded-systems knowledge (microcontroller basics and toolchains).

Get This Book

Key Takeaways

  • Apply schedulability and response-time analysis (e.g., for Rate Monotonic and EDF) to determine if task sets meet deadlines
  • Design and implement real-time tasking models and priority schemes appropriate for embedded RTOS environments
  • Use synchronization and resource-sharing protocols (priority inheritance/ceiling) to avoid priority inversion and bound blocking
  • Implement common inter-task communication and timing mechanisms used in RTOS-based firmware
  • Evaluate reliability and fault-tolerance strategies relevant to embedded real-time applications
  • Translate theoretical timing constraints into practical firmware and kernel-level design choices

Topics Covered

  1. Introduction to Real-Time Systems and Design Principles
  2. Real-Time System Models and Timing Terminology
  3. Tasks, Processes, and the Real-Time Kernel
  4. Preemptive Scheduling: Rate Monotonic and Earliest Deadline First
  5. Response-Time and Schedulability Analysis
  6. Synchronization, Priority Inversion, and Resource Protocols
  7. Inter-task Communication and Timing Services
  8. Interrupts, Device Drivers, and Hardware/Software Interface
  9. Real-Time Operating Systems in Practice (design patterns and examples)
  10. Reliability, Fault Tolerance, and Safety Considerations
  11. Case Studies and Embedded Firmware Examples
  12. Practical Development Workflow: measurement, testing, and WCET estimation

Languages, Platforms & Tools

CPseudo-codeGeneric microcontrollersARM Cortex-M (examples applicable)Embedded Linux (conceptual coverage)GCC-based toolchains (typical embedded toolchains)RTOS examples (conceptual coverage; e.g., FreeRTOS/POSIX-style APIs)WCET/timing analysis and measurement approaches

How It Compares

Compared with Jane W. S. Liu's Real-Time Systems (more theory-oriented), Shirvaikar's book is more applied and example-driven; it overlaps with practical guides like Qing Li's Real-Time Concepts for Embedded Systems but places greater emphasis on analysis plus code examples.

Related Books

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