Chapter 20. Synchronization without Locking
Priority inversion avoidance mechanisms built into the RTSJ prevent some of the most insidious blocking problems between threads, but the structure of the RTSJ adds some new ones. The wait-free queues offer a programmer a mechanism that clearly exposes interactions between threads that should not engage in priority inversion or one of the automated mechanisms for avoiding inversion.
For instance, if a NoHeapRealtimeThread needs to share data with a heap-using thread, it will probably have the potential to block the no-heap thread over an interval ...
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.