Asynchronous event handling and real-time threads in the real-time specification for Java

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

This paper discusses the role and implementation of asynchronous event handlers in the real-time specification for Java (RTSJ). For non-blocking handlers, an implementation model whereby all heap-using handlers are serviced by a single thread and all no-heap handlers are serviced by another server thread is proposed and schedulability analysis is derived. The model is shown to have bounded priority inversion. General multiple-server models are needed for nonblocking handlers but the support in the RTSJ is criticised as lacking in configurability. A solution is proposed which allows the number of servers to be specified, and the allocation of handlers to servers to be controlled.

Original languageEnglish
Title of host publicationReal-Time Technology and Applications - Proceedings
Pages81-89
Number of pages9
DOIs
Publication statusPublished - 1 Dec 2002

Publication series

NameReal-Time Technology and Applications - Proceedings
ISSN (Print)1080-1812

Cite this