Real-time programming safety in Java and Ada

Bo I. Sandén · ACM SIGAda Ada Letters · 2003

Both Java and the Real-time Specification for Java contain concurrency-related constructs that are easily abused or simply misunderstood by a programmer without sufficient knowledge of multi-threading. This article lists a number of those constructs and shows how they are avoided in Ada. Many of the mistakes arise when a programmer confuses exclusion synchronization and condition synchronization. The article opens with an explanation of those concepts.

Read the paper · More papers on PaperTik