A Comparison of the Asynchronous Transfer of Control Features in Ada and the Real-Time Specification for Java

by Benjamin M. Brosgol & A.J. Wellings
To appear at 8th International Conference on Reliable Software Technologies - Ada-Europe 2003 (AE03), Toulouse, France, 16-20 June 2003
 
Abstract

Asynchronous Transfer of Control ("ATC") is a transfer of control within a thread, triggered not by the thread itself but rather from some external source such as another thread or an interrupt handler. Such functionality is useful for several purposes; e.g. expressing common idioms such as timeouts and thread termination, and reducing the latency for responses to events. However, ATC presents significant issues methodologically, semantically, and implementationally. This paper describes the approaches to ATC taken by Ada and the Real-Time Specification for Java, and compares them with respect to programming style, expressive power, and efficiency.

  Back