Powerful and Easy-to-Use Features of the RTSJ

Most of the features of the RTSJ are safe. Any application can benefit from them, and applications that use multiple threads can benefit greatly.

Real-Time Threads

Everything that uses a thread can use a real-time thread, though the program has to contend with the more restricted set of constructors offered for the RealtimeThread class. Real-time threads offer priorities that really work, periodic scheduling, and priority boosting. (Briefly, in case you haven't read Chapter 5, this removes some obnoxious problems from interactions between threads at different priorities.)

Periodic Threads

In its simplest form, without resource limits or miss handlers, a periodic thread runs a piece of code at regular ...

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.