Verification of a dynamic channel model using the SPIN model checker

Rune Møllegaard Friborg, Brian Vinter

Abstract

This paper presents the central elements of a new dynamic channel leading towards a flexible CSP design suited for high-level languages. This channel is separated into three models: a shared-memory channel, a distributed channel and a dynamic synchronisation layer. The models are described such that they may function as a basis for implementing a CSP library, though many of the common features known in available CSP libraries have been excluded from the models. The SPIN model checker has been used to check for the presence of deadlocks, livelocks, starvation, race conditions and correct channel communication behaviour. The three models are separately verified for a variety of different process configurations. This verification is performed automatically by doing an exhaustive verification of all possible transitions using SPIN. The joint result of the models is a single dynamic channel type which supports both local and distributed any-to-any communication. This model has not been verified and the large state-space may make it unsuited for exhaustive verification using a model checker. An implementation of the dynamic channel will be able to change the internal synchronisation mechanisms on-the-fly, depending on the number of channel-ends connected or their location.

Original languageEnglish
Title of host publicationCommunicating Process Architectures 2011 : Proceedings of the 33rd WoTUG Technical Meeting, 19–22 June 2011, University of Limerick, Ireland
EditorsPeter H. Welch, Adam T. Sampson, Jan Baekgaard Pedersen, Jon Kerridge, Jan F. Broenink, Frederick R. M. Barnes
Number of pages20
PublisherIOS Press
Publication date2011
Pages35-54
ISBN (Print)978-1-60750-773-4
ISBN (Electronic)978-1-60750-774-1
DOIs
Publication statusPublished - 2011
Event33rd WoTUG Conference on Concurrent and Parallel Programming: communicating process architectures 2011 - University of Limerick, Limerick, Ireland
Duration: 19 Jun 201122 Jun 2011
Conference number: 33

Conference

Conference33rd WoTUG Conference on Concurrent and Parallel Programming
Number33
LocationUniversity of Limerick
Country/TerritoryIreland
CityLimerick
Period19/06/201122/06/2011
SeriesConcurrent Systems Engineering Series
Volume68
ISSN1383-7575

Fingerprint

Dive into the research topics of 'Verification of a dynamic channel model using the SPIN model checker'. Together they form a unique fingerprint.

Cite this