Skip to main content

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

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2655))

Abstract

Asynchronous Transfer of Control (“ATC”) is a transfer of control within a thread,1 triggered not by the thread itself but rather from some external source such as another thread or an interrupt handler. ATC 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 semantically, methodologically, and implementationally. This paper describes the approaches to ATC taken by Ada [[2]] and the Real-Time Specification for Java [[3],[4]], and compares them with respect to safety, programming style / expressive power, and implementability / latency / efficiency.

We use the term “thread” generically to refer to a concurrent activity within a program. When discussing a particular language’s mechanism we use that language’s terminology (e.g., “task” in Ada).

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. B.M. Brosgol and A. Wellings; A Comparison of the Asynchronous Transfer of Control Features in Ada and the Real-Time Specification for Java™; Univ. of York Technical Report YCS-350; February 2003.

    Google Scholar 

  2. S.T. Taft, R.A. Duff, R.L. Brukardt, and E. Ploedereder; Consolidated Ada Reference Manual, Language and Standard Libraries, International Standard ISO/IEC 8652/1995(E) with Technical Corrigendum 1; Springer LNCS 2219; 2000

    Google Scholar 

  3. G. Bollella, J. Gosling, B. Brosgol, P. Dibble, S. Furr, D. Hardin, and M. Turnbull; The Real-Time Specification for Java, Addison-Wesley, 2000

    Google Scholar 

  4. The Real-Time for Java Expert Group; The Real-Time Specification for Java, V1.0; Sun Microsystems JSR-001; http://www.rtj.org; November 2001.

  5. ISO/IEC 9945-1: 1996 (ANSI/IEEE Standard 1003.1, 1996 Edition); POSIX Part 1: System Application Program Interface (API) [C Language]

    Google Scholar 

  6. E.W. Giering and T.P. Baker; “The GNU Runtime Library (GNARL): Design and Implementation”, WAdaS’ 94 Proceedings, ACM SIGAda; 1994.

    Google Scholar 

  7. E.W. Giering and T.P. Baker; “Ada 9X Asynchronous Transfer of Control: Applications and Implementation”, Proceedings of the SIGPLAN Workshop on Language, Compiler, and Tool Support for Real-Time Systems, ACM SIGPLAN; 1994.

    Google Scholar 

  8. J. Miranda; A Detailed Description of the GNU Ada Run Time (Version 1.0); http://www.iuma.ulpgc.es/users/jmiranda/gnat-rts/main.htm; 2002.

  9. J. Gosling, B. Joy, G. Steele, G. Bracha; The Java Language Specification (2nd ed.); Addison Wesley, 2000

    Google Scholar 

  10. B. Brosgol, R.J. Hassan II, and S. Robbins; “Asynchronous Transfer of Control in the Real-Time Specification for Java”, Proc. ISORC 2002 — The 5th IEEE International Symposium on Object-oriented Real-time distributed Computing, April 29–May 1, 2002, Washington, DC, USA

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Brosgol, B.M., Wellings, A. (2003). A Comparison of the Asynchronous Transfer of Control Features in Ada and the Real-Time Specification for Java™. In: Rosen, JP., Strohmeier, A. (eds) Reliable Software Technologies — Ada-Europe 2003. Ada-Europe 2003. Lecture Notes in Computer Science, vol 2655. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44947-7_8

Download citation

  • DOI: https://doi.org/10.1007/3-540-44947-7_8

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40376-0

  • Online ISBN: 978-3-540-44947-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics