Semaphores in Ada-94

  • Authors:
  • Kwok-bun Yue

  • Affiliations:
  • Division of Computing and Mathematics, University of Houston -Clear Lake, 2700 Bay Area Boulevard, Houston, TX

  • Venue:
  • ACM SIGAda Ada Letters
  • Year:
  • 1994

Quantified Score

Hi-index 0.00

Visualization

Abstract

The new protected type and requeue features in Ada-94 make possible the efficient implementations of many concurrent solutions, previously not possible in Ada-83. In this paper, the implementations of various semaphore systems in Ada-94 are presented. These systems are more general and powerful than the familiar binary and counting semaphores. As examples, the uses of the most general one, PVgeneral, in resource management and the synchronization of general mutual exclusion problems are discussed.