A Shared Memory Algorithm and Proof for the Alternative Construct in CSP (Communicating Sequential Processes).

Abstract

Communicating Sequential Processes (CSP) is a paradigm for communication and synchronization among distributed processes. The alternative constructs is a key feature of CSP that allows nondeterministic selection of one among several possible communicants. Previous algorithms for this construct assume a message passing architecture and are not appropriate for multiprocessor systems that feature shared memory. This paper describes a distributed algorithm for the alternative construct that exploits the capabilities of a parallel computer with shared memory. The algorithm assumes a generalized version of Hoare's original alternative construct that allows output commands to be included in guards. A correctness proof of the proposed algorithm is presented to show that the algorithm conforms to some safety and liveness criteria. Extensions to allow termination of processes and to ensure fairness in guard selection are also given. Keywords: Communicating sequential processes; Alternative operation; Shared memory multiprocessor; Parallel processing.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Aug 25, 1987
Accession Number
ADA187820

Entities

People

  • Hwa-chung Feng
  • Richard M. Fujimoto

Organizations

  • University of Utah

Tags

Communities of Interest

  • Materials and Manufacturing Processes

DTIC Thesaurus Topics

  • Algorithms
  • Application Software
  • Computer Programming
  • Computer Programs
  • Computer Science
  • Computers
  • Computing System Architectures
  • Hot Spots
  • Language
  • Object Oriented Programming
  • Parallel Computing
  • Parallel Processing
  • Parallel Processors
  • Programming Languages
  • Simulations
  • Software Development

Fields of Study

  • Computer science

Readers

  • Applied Combinatorial Optimization and Logic Circuit Design.
  • Computer Science/Computer Engineering/Data Science/Digital Signal Processing.
  • Mathematical Modeling and Probability Theory.