Distributed termination of concurrent processes in Occam

  • Authors:
  • Domenico Talia

  • Affiliations:
  • CRAI, Località S. Stefano, 87036 Rende (CS), Italy

  • Venue:
  • Computer Languages
  • Year:
  • 1993

Quantified Score

Hi-index 0.00

Visualization

Abstract

A typical tissue in concurrent programming is to ensure the correct distributed termination of processes which compose a concurrent program. A concurrent program is terminated when every process is passive and there are no messages in transit. The Oceam concurrent language does not provide explicit mechanisms to handle program termination. This paper discusses how to implement distributed termination of Occam programs expressed as a network of concurrent processes, avoiding deadlock situations or never-ending execution. The technique is based on the definition of a termination hierarchy and the propagation of a termination message down the hierarchy of processes. Some Occam 2 concurrent programs which use this technique are presented.