Binding a Happening to an Event

The RTSJ specifies a three-layer mechanism for binding an external happening to an asynchronous event handler:

  • Interface layer — A platform-specific mechanism informs the Java runtime of an external happening. On UNIX-like operating systems, this would probably be a signal intercept handler. On JVMs that run without the help of an operating system, happenings are probably hardware interrupts and the glue is an interrupt service routine.

    Each happening is given a name. The way names are chosen and assigned is not specified in the RTSJ. Perhaps they are automatically generated, perhaps the names are a permanent part of the Java runtime, or perhaps they are specified in the Java resources.

  • Async event layer — Objects ...

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.