Búsqueda avanzada

Reversible CSP Computations

(Artículo ya publicado)


Original publication metadataPublished in: IEEE Transactions on Parallel and Distributed Systems (Volume: 32, Issue: 6, June 1 2021)Date of Publication: 14 January 2021Pages: 1425 – 1436 (12 pages)DOI: 10.1109/TPDS.2021.3051747Publisher: IEEEAbstract:Reversibility enables a program to be executed both forwards and backwards. This ability allows programmers to backtrack the execution to a previous state. This is essential if the computation is not deterministic because re-running the program forwards may not lead to that state of interest. Reversibility of sequential programs has been well studied and a strong theoretical basis exists. Contrarily, reversibility of concurrent programs is still very young, especially in the practical side. For instance, in the particular case of the Communicating Sequential Processes (CSP) language, reversibility is practically missing. In this article, we present a new technique, including its formal definition and its implementation, to reverse CSP computations. Most of the ideas presented can be directly applied to other concurrent specification languages such as Promela or CCS, but we center the discussion and the implementation on CSP. The technique proposes different forms of reversibility, including strict reversibility and causal-consistent reversibility. On the practical side, we provide an implementation of a system to reverse CSP computations that is able to highlight the source code that is being executed in each forwards/backwards computation step, and that has been optimized to be scalable to real systems.

Palabras Clave:

Causal-consistent reversibility - Code inspections and walkthroughs - Communicating sequential processes - Concurrent programming - Concurrent specification languages - Debugging aids - Strict reversibility - Synchronization - Tracing





Acceso a los detalles haciendo click aquí.