Tutorial: proving safety of parallel / multi-threaded programs

  • Authors:
  • S. Tucker Taft

  • Affiliations:
  • AdaCore, Lexington, MA, USA

  • Venue:
  • Proceedings of the 2013 ACM SIGAda annual conference on High integrity language technology
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

This tutorial will introduce the attendees to analysis and proof techniques for programs using parallelism and multi-threading. There are no specific prerequisites, but a familiarity with the notions of preconditions and postconditions, aliasing, race conditions, and deadlocks would be of value. The examples will be based on the threading and parallelism models of Java, Ada, and two new parallel languages, one called ParaSail [4] and another, inspired by the verifiable SPARK[1][2] subset of Ada, called Sparkel[3]. We will introduce the distinction between safety and liveness properties, and then focus primarily on techniques for the verification of safety properties, including the absence of race conditions and deadlocks. We will also discuss the issue of determinism vs. non-determinism in parallel and multi-threaded programs.