Abstract
Ada Gem #81 --- A previous Gem (#70, 'The Scope Lock Idiom') discussed the occasional necessity of using low-level synchronization mechanisms instead of the higher-level protected object construct. The code in that Gem referenced the facilities of the Semaphores package located in the GNAT hierarchy. In this Gem, we examine the abstractions provided by that package, focusing especially on the design choices.
Recommendations
Gem #55: introduction to Ada / Java interfacing
Interfacing Ada and Java is a very tricky problem. As opposed to C, C++, or Fortran, the two languages execute on two different environments, Java on the JVM and Ada directly on the underlying OS. For this reason, it is not possible to directly bind ...
Gem #56: creating Ada to Java calls using GNAT-AJIS
In a previous Gem we introduced ada2java, which maps an Ada specification to a Java specification, to support calls from Java to Ada. Even though ada2java doesn't support creating Ada bindings of Java specs, it's still possible to use it to support ...
Gem #37: bounded buffer package in GNAT hierarchy (part 2)
Ada Gem #37 --- Part 1 of this Gem briefly introduced bounded buffers, protected types, and the declaration of the generic package GNAT. Bounded_Buffers, exporting protected type Bounded_Buffer. In Part 2 of the Gem we examine the private part of ...






Comments