Fairness in parallel programs: the transformational approach

  • Authors:
  • Ernst-Rüdiger Olderog;Krzysztof R. Apt

  • Affiliations:
  • Christian-Albrechts Univ. Kiel, Kiel, W. Germany;Centrum voor Wiskunde en Informatica, Amsterdam, The Netherlands and Univ. of Texas at Austin, Austin

  • Venue:
  • ACM Transactions on Programming Languages and Systems (TOPLAS)
  • Year:
  • 1988

Quantified Score

Hi-index 0.00

Visualization

Abstract

Program transformations are proposed as a means of providing fair parallelism semantics for parallel programs with shared variables. The transformations are developed in two steps. First, abstract schedulers that implement the various fairness policies are introduced. These schedulers use random assignments z := ? to represent the unbounded nondeterminism induced by fairness. Concrete schedulers are derived by suitably refining the ?. The transformations are then obtained by embedding the abstract schedulers into the parallel programs. This embedding is proved correct on the basis of a simple transition semantics. Since the parallel structure of the original program is preserved, the transformations also provide a basis for syntax-directed proofs of total correctness under the fairness assumption. These proofs make use of infinite ordinals.