Chapter 17. Asynchronous Transfer of Control
Asynchronous transfer of control (ATC) is a mechanism (broadly similar to Thread.stop) that lets one thread throw an exception into another thread. ATC is important for some classes of real-time applications. The RTSJ defines a class, called AsynchronouslyInterruptedException (AIE), for asynchronous exceptions, with special rules that make the exceptions safe for use with the Java programming language:
The target thread will not service an asynchronously interrupted exception until it reaches a method that explicitly throws AsynchronouslyInterruptedException ...
Get Real-Time Java™ Platform Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.