On the expressive power of process interruption and compensation

Mario Bravetti, Gianluigi Zavattaro · Mathematical Structures in Computer Science · 2009

The investigation into the foundational aspects of linguistic mechanisms for programming long-running transactions (such as thescopeoperator of WS-BPEL) has recently renewed the interest in process algebraic operators that, due to the occurrence of a failure,interruptthe execution of one process, replacing it with another one called thefailure handler. We investigate the decidability of termination problems for two simple fragments of CCS (one with recursion and one with replication) extended with one of two such operators, theinterruptoperator of CSP and thetry-catchoperator for exception handling. More precisely, we consider the existential termination problem (existence of one terminated computation) and the universal termination problem (all computations terminate). We prove that, as far as the decidability of the considered problems is concerned, under replication there is no difference between interrupt and try-catch (universal termination is decidable while existential termination is not), while under recursion this is not the case (existential termination is undecidable while universal termination is decidable only for interrupt). As a consequence of our undecidability results, we show the existence of an expressiveness gap between a fragment of CCS and its extension with either the interrupt or the try-catch operator.

Read the paper · More papers on PaperTik