An exception based approach to timing constraints violations in real-time and multimedia applications

An exception-based programming paradigm is envisioned to deal with timing constraints violations occurring in soft real-time and multimedia applications written in the C language. In order to prove viability of the approach, a mechanism allowing to use such paradigm has been designed and implemented as an open-source library of C macros making use of the standard POSIX API (a few Linux-specific optimizations are also briefly discussed). The envisioned approach has been validated by modifying mplayer, one of the most widely used multimedia player for Linux, so as to use the introduced library. Experimental results demonstrate how the exception-based paradigm is effective in improving the audio/video delay exhibited by the player.

[1]  Tommaso Cucinotta,et al.  An efficient implementation of the BandWidth Inheritance protocol for handling hard and soft real-time applications in the Linux kernel , 2008 .

[2]  Wu-chun Feng,et al.  Operating System Support for Imprecise Computation , 1996 .

[3]  Cucinotta Tommaso,et al.  Exception-Based Management of Timing Constraints Violations for Soft Real-Time Applications , 2009 .

[4]  Gary M. Koob,et al.  Foundations of Dependable Computing , 1994 .

[5]  Alan Burns,et al.  Concurrent and Real-Time Programming in Ada 2005: Preface , 2007 .

[6]  Riccardo Bettati,et al.  Use of Imprecise Computation to Enhance Dependability of Real-Time Systems , 1994 .

[7]  Claudio Scordino,et al.  An EDF scheduling class for the Linux kernel ∗ , 2009 .

[8]  Insup Lee,et al.  RTC: Language support for real-time concurrency , 2005, Real-Time Systems.

[9]  Corporate Ieee,et al.  Information Technology-Portable Operating System Interface , 1990 .

[10]  Andy J. Wellings Concurrent and real-time programming in Java , 2004 .

[11]  James Gosling,et al.  The Real-Time Specification for Java , 2000, Computer.

[12]  Cucinotta Tommaso,et al.  Hierarchical Multiprocessor CPU Reservations for the Linux Kernel , 2009 .

[13]  Antonio Bicchi,et al.  Designing real-time embedded controllers using the anytime computing paradigm , 2009, 2009 IEEE Conference on Emerging Technologies & Factory Automation.

[14]  Tommaso Cucinotta,et al.  AQuoSA—adaptive quality of service architecture , 2009 .

[15]  Stephen A. Edwards,et al.  Predictable programming on a precision timed architecture , 2008, CASES '08.

[16]  Stephen A. Edwards,et al.  The Case for the Precision Timed (PRET) Machine , 2007, 2007 44th ACM/IEEE Design Automation Conference.

[17]  Insup Lee,et al.  Language Constructs for Distributed Real-Time Programming , 1985, RTSS.