This document discusses real-time operating systems (RTOS) and provides case studies of several common RTOS. It begins by defining real-time and describing the characteristics of soft and hard real-time systems. The key components of an RTOS are then outlined. Examples of commercial RTOS like VxWorks and open source RTOS like RTLinux, RTAI, and FreeRTOS are provided. More detailed case studies of RTLinux, RTAI, MicroC/OSII, VxWorks, eCos, and TinyOS follow, describing their features, uses, and differences.