Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-09T22:02:34.347Z Has data issue: false hasContentIssue false

Global escape in multiparty sessions†

Published online by Cambridge University Press:  10 November 2014

SARA CAPECCHI
Affiliation:
Dipartimento di Informatica, Università di Torino, Corso Svizzera 185, 10149 Torino, Italy Email: sara.capecchi@unito.it
ELENA GIACHINO
Affiliation:
Dipartimento di Informatica, Università di Bologna/INRIA, Via Zamboni 33, 40126 Bologna, Italy Email: giachino@cs.unibo.it
NOBUKO YOSHIDA
Affiliation:
Department of Computing, Imperial College, South Kensington Campus, London SW7 2AZ, United Kingdom Email: n.yoshida@imperial.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

This article proposes a global escape mechanism which can handle unexpected or unwanted conditions changing the default execution of distributed communicational flows, preserving compatibility of the multiparty conversations. Our escape is realized by a collection of asynchronous local exceptions which can be thrown at any stage of the communication and to any subsets of participants in a multiparty session. This flexibility enables to model complex exceptions such as criss-crossing global interactions and error handling for distributed cooperating threads. Guided by multiparty session types, our semantics is proven to provide a termination algorithm for global escapes. Our type system guarantees further safety and liveness properties, such as progress within the session and atomicity of escapes with respect to the subset of involved participants.

Information

Type
Paper
Copyright
Copyright © Cambridge University Press 2014