Sloth: Threads as Interrupts

Hofer W, Lohmann D, Scheler F, Schröder-Preikschat W (2009)

Publication Type: Conference contribution

Publication year: 2009

Publisher: IEEE Computer Society

Edited Volumes: Proceedings - Real-Time Systems Symposium

City/Town: Los Alamitos, CA, USA

Pages Range: 204-213

Conference Proceedings Title: Proceedings of the 30th IEEE Real-Time Systems Symposium (RTSS 2009)

Event location: Washington, D.C., USA

ISBN: 978-0-7695-3875-4


DOI: 10.1109/RTSS.2009.18


Traditional operating systems differentiate between threads, which are managed by the kernel scheduler, and interrupt handlers, which are scheduled by the hardware. This approach is not only asymmetrical in its nature, but also introduces problems relevant to real-time systems because low-priority interrupt handlers can interrupt high-priority threads. We propose to internally design all threads as interrupts, thereby simplifying the managed control-flow abstractions and letting the hardware interrupt subsystem do most of the scheduling work. The resulting design of our very light-weight SLOTH system is suitable for the implementation of a wide class of embedded real-time systems, which we describe with the example of the OSEK-OS specification. We show that the design conciseness has a positive impact on the system performance, its memory footprint, and its overall maintainability. © 2009 IEEE.

Authors with CRIS profile

How to cite


Hofer, W., Lohmann, D., Scheler, F., & Schröder-Preikschat, W. (2009). Sloth: Threads as Interrupts. In Proceedings of the 30th IEEE Real-Time Systems Symposium (RTSS 2009) (pp. 204-213). Washington, D.C., USA: Los Alamitos, CA, USA: IEEE Computer Society.


Hofer, Wanja, et al. "Sloth: Threads as Interrupts." Proceedings of the 30th IEEE Real-Time Systems Symposium (RTSS 2009), Washington, D.C., USA Los Alamitos, CA, USA: IEEE Computer Society, 2009. 204-213.

BibTeX: Download